Skip to content

Commit

Permalink
Update publish-next GitHub workflow
Browse files Browse the repository at this point in the history
- Use Node 20 instead of Node 12
- Run `npm ci` instead of `npm install` to prevent unexpected dependency changes from being installed
  • Loading branch information
kvnlam committed May 3, 2024
1 parent 8f74cf1 commit 56f439e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ jobs:
- name: Set up Node.js
uses: actions/setup-node@v1
with:
node-version: 12.x
node-version: 20.11.1
- run: |
git config --local user.email "[email protected]"
git config --local user.name "Osp Rey [CI]"
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc
- run: npm install
- run: npm ci
- run: npm test
- run: npm run build
- run: ./node_modules/.bin/lerna publish --conventional-commits --conventional-prerelease --pre-dist-tag next --yes
Expand Down

0 comments on commit 56f439e

Please sign in to comment.