Skip to content

Commit

Permalink
update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
raphaelmansuy committed Jul 1, 2024
1 parent 9e9f656 commit e47a257
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/ci_cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '18'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
Expand All @@ -26,6 +25,8 @@ jobs:
run: node scripts/check_version.js
- name: Publish to npm
if: steps.check_version.outputs.is_release == 'true'
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: JS-DevTools/npm-publish@v2
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./package.json
access: public

0 comments on commit e47a257

Please sign in to comment.