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/action-setup@v2.2.1 - name: Use Node.js v16 uses: actions/setup-node@v2 with: node-version: v16 registry-url: https://registry.npmjs.org/ cache: pnpm - run: npx conventional-github-releaser -p angular continue-on-error: true env: CONVENTIONAL_GITHUB_RELEASER_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Install Dependencies run: pnpm install - name: PNPM build run: pnpm run build - name: Publish to NPM run: pnpm publish --access public --no-git-checks env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}