also looking at this
chore(deps): update all non-major dependencies
#1586
10 files
+40
-31
| @@ -1,4 +1,4 @@ | ||
| 1 | name: Publish to NPM | |
| 1 | name: Releaser | |
| 2 | 2 | |
| 3 | 3 | on: |
| 4 | 4 | push: |
| @@ -7,15 +7,17 @@ on: | ||
| 7 | 7 | workflow_dispatch: |
| 8 | 8 | |
| 9 | 9 | jobs: |
| 10 | publish: | |
| 10 | npm: | |
| 11 | 11 | runs-on: ubuntu-latest |
| 12 | 12 | permissions: |
| 13 | contents: read | |
| 13 | contents: write | |
| 14 | 14 | id-token: write |
| 15 | 15 | |
| 16 | 16 | steps: |
| 17 | 17 | - name: Checkout |
| 18 | 18 | uses: actions/checkout@v4 |
| 19 | with: | |
| 20 | fetch-depth: 0 | |
| 19 | 21 | |
| 20 | 22 | - name: Setup Node.js |
| 21 | 23 | uses: actions/setup-node@v4 |
| @@ -50,6 +52,13 @@ jobs: | ||
| 50 | 52 | echo "$PWD/zig-out/bin" >> $GITHUB_PATH |
| 51 | 53 | |
| 52 | 54 | - name: Publish |
| 53 | run: pantry publish --access public | |
| 55 | run: pantry npm:publish --access public | |
| 54 | 56 | env: |
| 55 | 57 | NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |
| 58 | ||
| 59 | - name: Create GitHub Release | |
| 60 | uses: softprops/action-gh-release@v2.5.0 | |
| 61 | with: | |
| 62 | generate_release_notes: true | |
| 63 | env: | |
| 64 | GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |