Skip to content

Commit 6a8fa6b

Browse files
committed
try upgrading lighthouse workflow
1 parent 580834d commit 6a8fa6b

1 file changed

Lines changed: 9 additions & 19 deletions

File tree

.github/workflows/lighthouse.yml

Lines changed: 9 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,19 @@ jobs:
88
runs-on: ubuntu-latest
99
steps:
1010
- name: Checkout the project
11-
uses: actions/checkout@v2
11+
uses: actions/checkout@v3
1212

13-
- name: Use Node.js 14.x (LTS)
14-
uses: actions/setup-node@v1
13+
- name: Use Node.js 16.x (LTS)
14+
uses: actions/setup-node@v3
1515
with:
16-
node-version: 14.x
16+
node-version: 16.x
1717

18-
- name: Use Ruby 2.7
19-
uses: actions/setup-ruby@v1
18+
- name: Use Ruby 2.7.3
19+
uses: ruby/setup-ruby@v1
2020
with:
21-
ruby-version: '2.7'
21+
ruby-version: '2.7.3'
22+
bundler-cache: true
23+
working-directory: docs
2224

2325
- name: Restore npm cache
2426
uses: actions/cache@v2
@@ -28,18 +30,6 @@ jobs:
2830
restore-keys: |
2931
${{ runner.os }}-node-
3032
31-
- name: Restore Bundler cache
32-
uses: actions/cache@v2
33-
with:
34-
path: docs/vendor/bundle
35-
key: ${{ runner.os }}-gems-${{ hashFiles('**/Gemfile.lock') }}
36-
restore-keys: |
37-
${{ runner.os }}-gems-
38-
39-
- name: Configure Bundler cache
40-
run: |
41-
bundle config path vendor/bundle
42-
4333
- name: Install dependencies
4434
run: |
4535
npm ci

0 commit comments

Comments
 (0)