Skip to content

Merge pull request #10 from devrev/fix/publish-package-1.14.0 #42

Merge pull request #10 from devrev/fix/publish-package-1.14.0

Merge pull request #10 from devrev/fix/publish-package-1.14.0 #42

Workflow file for this run

name: 'publish package'
on:
push:
branches:
- main
jobs:
publish-npm:
runs-on: ubuntu-latest
permissions:
packages: write
contents: write
steps:
- uses: actions/checkout@v3
with:
submodules: true
ref: 'feat/devrev-duckdb-version-v1.27.1-dev-115.0'
- uses: actions/setup-node@v3
with:
node-version: 18.17
registry-url: https://npm.pkg.github.com/
scope: '@devrev'
- run: npm install -g yarn
- name: publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_PUBLISH_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