Skip to content

release: v0.2.0

release: v0.2.0 #10

Workflow file for this run

name: publish npm
on:
push:
tags:
- 'v*'
jobs:
deploy_npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Set node
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
cache: pnpm
- name: Install Dependencies
run: pnpm i
- name: PNPM build
run: pnpm build
- name: Publish to NPM
run: pnpm -r publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}