Skip to content

Release v0.1.0

Release v0.1.0 #5

Workflow file for this run

name: npm
on:
release:
types: [created]
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Git Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/[email protected]
with:
version: latest
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: lts/*
cache: pnpm
registry-url: https://registry.npmjs.org/
- name: Install Dependencies
run: pnpm install
- name: Prettier check
run: pnpm exec prettier --check .
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}