chore: release v3.0.0-beta.0 #197
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
name: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Install pnpm | |
uses: pnpm/[email protected] | |
- name: Use Node.js v18 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: v18 | |
registry-url: https://registry.npmjs.org/ | |
cache: pnpm | |
- run: export DEBUG=conventional-github-releaser && npx conventional-github-releaser -p angular | |
continue-on-error: false | |
env: | |
CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} | |
- run: pnpm i | |
- name: PNPM build | |
run: pnpm run build | |
- name: Publish to NPM | |
run: pnpm publish --access public --no-git-checks --tag beta | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |