ci: actually download and publish in js ci

This commit is contained in:
əlemi 2024-09-09 20:51:31 +02:00
parent c8174bb81c
commit 95ceb7b6d0
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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 }}