chore: version bump #3
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
name: Publish to npm beta | |
on: | |
push: | |
branches: | |
- 'beta' | |
jobs: | |
build: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: use node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
registry-url: "https://registry.npmjs.org" | |
- name: install dependencies | |
run: pnpm install | |
- name: build and publish | |
run: pnpm pub:beta | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |