Skip to content

Commit

Permalink
Merge pull request #11 from devrev/feat/publish-npm-registry
Browse files Browse the repository at this point in the history
fix: publish to public npm registry
  • Loading branch information
ujaval403 authored Sep 3, 2024
2 parents e2ece07 + 67f6043 commit 7489cc8
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,15 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 18.17
registry-url: https://npm.pkg.github.com/
registry-url: https://registry.npmjs.org/
scope: '@devrev'

- run: npm install -g yarn
- name: publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_PUBLISH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_NPM_TOKEN }}
run: |
git submodule init
git submodule update
cd packages/duckdb-wasm
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
npm publish --access public

0 comments on commit 7489cc8

Please sign in to comment.