Skip to content

Commit

Permalink
chore: remove JS-DevTools/npm-publish (#266)
Browse files Browse the repository at this point in the history
  • Loading branch information
philsturgeon authored Jan 7, 2025
1 parent a2a4c9e commit a48e626
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/CI-CD.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,6 @@ jobs:
github-token: ${{ secrets.GITHUB_TOKEN }}
parallel: true


coverage:
name: Code Coverage
runs-on: ubuntu-latest
Expand Down Expand Up @@ -88,9 +87,9 @@ jobs:
run: npm ci

- name: Publish to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
run: npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Prepare the non-scoped packaged
run: |
Expand All @@ -99,7 +98,7 @@ jobs:
sed -i "s/X.X.X/${VERSION}/g" dist/package.json
- name: Publish the non-scoped package to NPM
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
package: dist/package.json
run: npm publish --provenance --access public
working-directory: dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit a48e626

Please sign in to comment.