Skip to content

What a dumb bug

What a dumb bug #4

Workflow file for this run

name: Release builds to npm
on:
push:
tags:
- "v*"
jobs:
release:
name: Release builds to npm
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 9
run_install: false
- uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build
env:
NODE_ENV: production
run: pnpm run build
- name: Publish to npm
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}