Patch v1.3.2 #8
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: Build and Deploy GitHub Package | |
on: | |
release: | |
types: [published] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: pnpm/[email protected] | |
name: Install pnpm | |
with: | |
version: latest | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: "18.x" | |
registry-url: "https://npm.pkg.github.com" | |
scope: "@codevachon" | |
- run: pnpm install | |
- run: pnpm run build | |
- run: npm publish --access public | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.CODEVACHON_GITHUB_TOKEN }} |