Skip to content

Merge pull request #12 from devrev/fix/update-the-public-version #46

Merge pull request #12 from devrev/fix/update-the-public-version

Merge pull request #12 from devrev/fix/update-the-public-version #46

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://registry.npmjs.org/
scope: '@devrev'
- run: npm install -g yarn
- name: publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_NPM_TOKEN }}
run: |
git submodule init
git submodule update
cd packages/duckdb-wasm
npm publish --access public