Skip to content

v2.2.2-rc.1

v2.2.2-rc.1 #57

Workflow file for this run

name: Publish NPM Package
on:
release:
types: [created]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "pnpm"
registry-url: "https://registry.npmjs.org"
- run: pnpm install --frozen-lockfile
- run: pnpm package:build
- run: (cd packages/nextjs-routes/ && npm publish)
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}