Skip to content

Commit

Permalink
fix: publish GH action workflow - update node version (round 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
arminbro committed Feb 26, 2024
1 parent 3e97dbd commit 6a2f90c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,16 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- name: Check out repository
uses: actions/checkout@v4
with:
node-version: 20
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20.11.1'
- run: npm ci
- run: npx semantic-release
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 6a2f90c

Please sign in to comment.