Skip to content

Commit 13d1a4e

Browse files
authored
Merge pull request #130 from pmndrs:fix-deployment
feat: update runner to latest
2 parents 8c81b70 + 8bc607c commit 13d1a4e

File tree

1 file changed

+7
-15
lines changed

1 file changed

+7
-15
lines changed

.github/workflows/update-benchmark.yml

Lines changed: 7 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,19 @@ on:
77
jobs:
88
auto-update:
99
name: Automated benchmarks update
10-
runs-on: Ubuntu-20.04
10+
runs-on: ubuntu-latest
1111

1212
steps:
1313
- uses: actions/checkout@v4
1414
with:
1515
ref: ${{ github.head_ref }}
16+
1617
- uses: actions/setup-node@v4
1718
with:
18-
node-version: '18.x'
19-
- uses: actions/cache@v4
20-
id: yarn-cache
21-
with:
22-
path: |
23-
node_modules
24-
*/*/node_modules
25-
key: ${{ runner.os }}-install-${{ hashFiles('**/yarn.lock') }}
26-
- run: yarn install
27-
if: ${{ steps.yarn-cache.outputs.cache-hit != 'true' }}
19+
node-version: "20.x"
20+
cache: "yarn"
2821

29-
- run: yarn install --prefers-offline
30-
if: ${{ steps.yarn-cache.outputs.cache-hit == 'true' }}
22+
- run: yarn install --frozen-lockfile
3123

3224
- name: Bump patch
3325
run: npm version patch --no-git-tag-version
@@ -39,13 +31,13 @@ jobs:
3931
- name: Build final result
4032
run: yarn build
4133

42-
- uses: JS-DevTools/npm-publish@v1
34+
- uses: JS-DevTools/npm-publish@v3
4335
with:
4436
token: ${{ secrets.NPM_TOKEN }}
4537
access: public
4638

4739
- name: Push Changes
48-
uses: stefanzweifel/git-auto-commit-action@v4
40+
uses: stefanzweifel/git-auto-commit-action@v5
4941
with:
5042
commit_message: Automated weekly update of the benchmark.
5143
skip_dirty_check: true

0 commit comments

Comments
 (0)