mirror of https://github.com/waku-org/js-waku.git
26 lines
685 B
YAML
26 lines
685 B
YAML
on:
|
|
workflow_dispatch:
|
|
|
|
jobs:
|
|
pre-release:
|
|
name: pre-release
|
|
runs-on: ubuntu-latest
|
|
if: github.event_name == 'workflow_dispatch' && github.ref == 'refs/heads/master'
|
|
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 }}
|