Skip to content

1.3.7

1.3.7 #22

Workflow file for this run

name: Publish
on:
release:
types: [created]
jobs:
publish-gpr:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Setup Repo
uses: actions/checkout@v3
- name: Setup PNPM
uses: pnpm/action-setup@v2
with:
version: 8
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: "https://registry.npmjs.org"
cache: "pnpm"
- name: Install Deps
run: pnpm install --frozen-lockfile
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Lint and Build
run: pnpm run build
- name: Publish
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}