Skip to content

Commit

Permalink
Merge pull request #303 from equinor/sefo/ci/add-node-parameters
Browse files Browse the repository at this point in the history
ci: add npm-publish action
  • Loading branch information
sefornes authored Feb 3, 2025
2 parents e4888ce + ee9952c commit 0df08fe
Showing 1 changed file with 4 additions and 7 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org
always-auth: true
token: ${{secrets.NPM_TOKEN}}
- name: npm install, build, and test
run: |
npm ci
Expand All @@ -30,7 +27,7 @@ jobs:
env:
CI: true
- name: Publish to NPM
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
run: |
npm publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{secrets.NPM_TOKEN}}
provenance: true

0 comments on commit 0df08fe

Please sign in to comment.