4.20.3-0 #112
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: Npm Beta Publish | |
on: | |
push: | |
branches: [beta] | |
pull_request: | |
branches: [beta] | |
jobs: | |
publish: | |
name: Build And Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Get Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- name: Checkout Code | |
uses: actions/checkout@v4 | |
- name: Install | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: install | |
- name: Build | |
uses: borales/actions-yarn@v5 | |
with: | |
cmd: build | |
- name: Publish | |
run: npm publish --access public --tag beta | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |