mirror of
https://github.com/hexedtech/codemp.git
synced 2024-12-23 05:14:54 +01:00
ci: actually download and publish in js ci
This commit is contained in:
parent
c8174bb81c
commit
95ceb7b6d0
1 changed files with 7 additions and 1 deletions
8
.github/workflows/javascript.yml
vendored
8
.github/workflows/javascript.yml
vendored
|
@ -61,9 +61,15 @@ jobs:
|
|||
working-directory: dist/js/publish
|
||||
- run: npx napi create-npm-dir -t .
|
||||
working-directory: dist/js/publish
|
||||
- uses: actions/download-artifact@v4
|
||||
with:
|
||||
path: artifacts
|
||||
pattern: codemp-js-*
|
||||
- run: npx napi artifacts
|
||||
working-directory: dist/js/publish
|
||||
- run: npx napi prepublish -t .
|
||||
- run: npx napi prepublish -t . --skip-gh-release
|
||||
working-directory: dist/js/publish
|
||||
- run: npm publish
|
||||
working-directory: dist/js/publish
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
||||
|
|
Loading…
Reference in a new issue