Add github action for publishing packages tagged as dev

This commit is contained in:
Arseniy Klempner 2024-01-08 22:01:40 -08:00
parent f772dc36ce
commit 17613064f9
No known key found for this signature in database
GPG Key ID: 59967D458EFBF01B
1 changed files with 25 additions and 0 deletions

25
.github/workflows/dev-release.yml vendored Normal file
View File

@ -0,0 +1,25 @@
on:
workflow_dispatch:
jobs:
pre-release:
name: pre-release
runs-on: ubuntu-latest
if: github.event_name == 'workflow_dispatch'
steps:
- uses: actions/checkout@v3
with:
repository: waku-org/js-waku
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_JS }}
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run build
- run: npm run publish -- --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_JS_WAKU_PUBLISH }}