PersonSelect #92
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: Bundle and publish | |
on: | |
release: | |
types: | |
- published | |
jobs: | |
build: | |
if: "!github.event.release.prerelease" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup node and install deps | |
uses: ./.github/workflows/actions/node-setup | |
- name: pnpm build and publish | |
run: | | |
pnpm run update-templates | |
pnpm run build | |
pnpm config set //registry.npmjs.org/:_authToken=$NODE_AUTH_TOKEN | |
pnpm publish --access public | |
env: | |
CI: true | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} |