Skip to content
This repository was archived by the owner on Mar 3, 2025. It is now read-only.

Commit 87fd952

Browse files
authored
Update main.yml
1 parent 3058cf3 commit 87fd952

File tree

1 file changed

+10
-6
lines changed

1 file changed

+10
-6
lines changed

.github/workflows/main.yml

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,13 @@ jobs:
2121
registry-url: https://npm.pkg.github.com/
2222
scope: '@devrev'
2323
- run: npm install -g yarn
24-
- run: |
25-
git submodule init
26-
git submodule update
27-
cd packages/duckdb-wasm
28-
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
29-
npm publish
24+
- name: publish package
25+
env:
26+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_PUBLISH_TOKEN }}
27+
run: |
28+
git submodule init
29+
git submodule update
30+
cd packages/duckdb-wasm
31+
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
32+
npm publish
33+

0 commit comments

Comments
 (0)