Skip to content

release: v0.1.1

release: v0.1.1 #5

Workflow file for this run

name: 🚀 Publish Package
on:
push:
tags:
- "v*" # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
publish:
runs-on: ubuntu-latest
environment: Release
steps:
- name: ⤵️ Checkout
uses: actions/checkout@v3
- name: 🎉 Install pnpm
uses: pnpm/[email protected]
- name: 🎉 Set node version to 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://registry.npmjs.org/
cache: "pnpm"
- name: 🚧 Install deps
run: pnpm install
- name: 📦 Build
run: pnpm run build
- name: 🔀 Publish package
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}