Skip to content

v2.1.1 - Fix release process #18

v2.1.1 - Fix release process

v2.1.1 - Fix release process #18

Workflow file for this run

name: Publish
on:
release:
types: [created, edited]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: pnpm/action-setup@v4
name: Install pnpm
id: pnpm-install
- uses: actions/setup-node@v4
with:
node-version: '20'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: pnpm install
env:
CI: true
- name: Build
run: pnpm build
env:
CI: true
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}