Bump version & setup CI #8
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
tags: | |
- "v**" | |
branches: | |
- main | |
workflow_dispatch: | |
pull_request: {} # NOTE: worktree would be a temporal merge commit | |
jobs: | |
publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
- uses: pnpm/action-setup@v4 | |
- run: git submodule init && git submodule update | |
- run: make patch-upstream lib-build | |
- uses: JS-DevTools/npm-publish@v3 | |
with: | |
token: ${{ secrets.NPM_TOKEN }} | |
dry-run: ${{ !(github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')) }} | |
package: ./socket.io-serverless |