Skip to content

Commit

Permalink
update publish action to use latest version of node
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-Griffiths authored Aug 25, 2024
1 parent 79277c1 commit 60cf637
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "lts/*"
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: yarn test
- run: yarn build
- uses: JS-DevTools/npm-publish@v1
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit 60cf637

Please sign in to comment.