Skip to content

Commit

Permalink
use publish action but without install
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxOhn committed Apr 3, 2024
1 parent 8826822 commit af5e51d
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -113,9 +113,14 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'

- name: Extract nodejs tarball
run: |
mkdir extracted
tar -xzvf ./tars/rosu_pp_js_nodejs.tar.gz -C ./extracted
- name: Publish
run: npm publish ./tars/rosu_pp_js_nodejs.tar.gz
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
uses: JS-DevTools/npm-publish@v3
with:
package: ./extracted
token: ${{ secrets.NPM_TOKEN }}

0 comments on commit af5e51d

Please sign in to comment.