Skip to content

Commit f81f9f1

Browse files
committed
chore: update actions
1 parent 18ffe2b commit f81f9f1

File tree

1 file changed

+16
-4
lines changed

1 file changed

+16
-4
lines changed

.github/workflows/node.yml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,10 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v4
10-
- run: pnpm i --ignore-scripts
10+
- uses: pnpm/action-setup@v2
11+
with:
12+
version: 8
13+
run_install: true
1114
- run: pnpm run lint:js
1215
- run: pnpm run lint:prettier
1316

@@ -22,15 +25,21 @@ jobs:
2225
- uses: actions/setup-node@v4
2326
with:
2427
node-version: ${{ matrix.node-version }}
25-
- run: pnpm i --ignore-scripts
28+
- uses: pnpm/action-setup@v2
29+
with:
30+
version: 8
31+
run_install: true
2632
- run: pnpm run test
2733

2834
coverage:
2935
needs: [test]
3036
runs-on: ubuntu-latest
3137
steps:
3238
- uses: actions/checkout@v4
33-
- run: pnpm i --ignore-scripts
39+
- uses: pnpm/action-setup@v2
40+
with:
41+
version: 8
42+
run_install: true
3443
- run: pnpm run test:coverage
3544
- uses: codecov/codecov-action@v3
3645

@@ -43,7 +52,10 @@ jobs:
4352
with:
4453
fetch-depth: 0
4554
persist-credentials: false
46-
- run: pnpm i --ignore-scripts
55+
- uses: pnpm/action-setup@v2
56+
with:
57+
version: 8
58+
run_install: true
4759
- run: pnpm run semantic-release
4860
env:
4961
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}

0 commit comments

Comments
 (0)