Skip to content

Commit

Permalink
Update CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
evanplaice committed Jul 20, 2024
1 parent 7fb3563 commit f998f87
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ jobs:
# Publish package
npm publish --provenance --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
10 changes: 9 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,13 @@ jobs:

cd:
needs: ci
uses: evanplaice/jquery-csv/.github/workflows/npm.yml@main
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Publish
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_AUTH_TOKEN }}" > ~/.npmrc
npm publish --access public
# uses: evanplaice/jquery-csv/.github/workflows/npm.yml@main

0 comments on commit f998f87

Please sign in to comment.