CI: Fix package publishing (#350)

This commit is contained in:
Michał Leszczyński
2024-07-19 16:23:29 -07:00
committed by GitHub
parent fd2fbadcd3
commit 7b5b678418

View File

@@ -150,7 +150,7 @@ jobs:
./node_modules/.bin/tsc
./node_modules/.bin/tsc -p tsconfig.commonjs.json
- name: Publish package to npmjs
run: yarn publish
run: cd core && yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.RELEASE_NPM_TOKEN }}
- name: Re-setup Node.JS with GitHub pkg
@@ -159,6 +159,6 @@ jobs:
node-version: 20
registry-url: https://npm.pkg.github.com/
- name: Publish package to GitHub
run: yarn publish
run: cd core && yarn publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}