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

Commit 907a59d

Browse files
authored
Merge pull request #4 from devrev/feat/working-version-branch
fix: branch for the working version
2 parents 871e4e4 + 01dee7e commit 907a59d

File tree

1 file changed

+29
-31
lines changed

1 file changed

+29
-31
lines changed

.github/workflows/main.yml

+29-31
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,31 @@
1-
name: "publish package"
2-
1+
name: 'publish package'
32
on:
4-
push:
5-
branches:
6-
- main
3+
push:
4+
branches:
5+
- main
76
jobs:
8-
publish-npm:
9-
runs-on: ubuntu-latest
10-
permissions:
11-
packages: write
12-
contents: write
13-
steps:
14-
- uses: actions/checkout@v3
15-
with:
16-
submodules: true
17-
ref: 'v1.28.0branch'
18-
- uses: actions/setup-node@v3
19-
with:
20-
node-version: 18.17
21-
registry-url: https://npm.pkg.github.com/
22-
scope: '@devrev'
23-
- run: npm install -g yarn
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-
7+
publish-npm:
8+
runs-on: ubuntu-latest
9+
permissions:
10+
packages: write
11+
contents: write
12+
steps:
13+
- uses: actions/checkout@v3
14+
with:
15+
submodules: true
16+
ref: 'feat/devrev-duckdb-version-v1.27.1-dev-115.0'
17+
- uses: actions/setup-node@v3
18+
with:
19+
node-version: 18.17
20+
registry-url: https://npm.pkg.github.com/
21+
scope: '@devrev'
22+
- run: npm install -g yarn
23+
- name: publish package
24+
env:
25+
NODE_AUTH_TOKEN: ${{ secrets.NPM_PACKAGE_PUBLISH_TOKEN }}
26+
run: |
27+
git submodule init
28+
git submodule update
29+
cd packages/duckdb-wasm
30+
echo "//npm.pkg.github.com/:_authToken=${{secrets.NPM_PACKAGE_PUBLISH_TOKEN}}" >> .npmrc
31+
npm publish

0 commit comments

Comments
 (0)