forked from duckdb/duckdb-wasm
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (30 loc) · 927 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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