Skip to content

Commit 9d5b645

Browse files
committed
feat: add beta publish scripts
1 parent 0c5545d commit 9d5b645

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

.github/workflows/npm-publish.yml

+13
Original file line numberDiff line numberDiff line change
@@ -30,3 +30,16 @@ jobs:
3030
- run: npm publish
3131
env:
3232
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
33+
34+
publish-npm-beta:
35+
needs: build
36+
runs-on: ubuntu-latest
37+
steps:
38+
- uses: actions/checkout@v2
39+
- uses: actions/setup-node@v2
40+
with:
41+
node-version: 14
42+
registry-url: https://registry.npmjs.org/
43+
- run: npm publish --tag beta
44+
env:
45+
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "wbc",
3-
"version": "0.4.0",
3+
"version": "0.4.0-beta.0",
44
"description": "Node.js addon for the Quickjs compiler",
55
"main": "index.js",
66
"bin": {

0 commit comments

Comments
 (0)