Skip to content

Commit 6a2f90c

Browse files
committed
fix: publish GH action workflow - update node version (round 2)
1 parent 3e97dbd commit 6a2f90c

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,16 @@ jobs:
88
publish:
99
runs-on: ubuntu-latest
1010
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
11+
- name: Check out repository
12+
uses: actions/checkout@v4
1313
with:
14-
node-version: 20
14+
fetch-depth: 0
15+
- name: Set up Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: '20.11.1'
1519
- run: npm ci
1620
- run: npx semantic-release
1721
env:
18-
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
1922
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
23+
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
 (0)