Skip to content

automate releases & handle redirects (#29) #14

automate releases & handle redirects (#29)

automate releases & handle redirects (#29) #14

Workflow file for this run

name: Publish Package Pipeline
on:
push:
branches: "master"
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 2
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2.2.2
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: true
- run: pnpm build
- run: pnpm release
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}