Skip to content

v0.2.6

v0.2.6 #15

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
build-and-publish:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout
uses: actions/checkout@v4
- name: 📦 Install pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: false
- name: ⎔ Install Node.js
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm
registry-url: https://registry.npmjs.org
- name: 📥 Install dependencies
run: pnpm install --frozen-lockfile
- name: 🛠️ Build package
run: pnpm run build
- name: 🚀 Publish
shell: bash
run: pnpm publish --access public --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}