2023-11-06 09:39:06 +00:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
pre-release:
|
|
|
|
name: pre-release
|
|
|
|
runs-on: ubuntu-latest
|
2024-04-02 11:53:06 +00:00
|
|
|
if: github.event_name == 'workflow_dispatch'
|
2023-11-06 09:39:06 +00:00
|
|
|
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 }}
|