Skip to content

0.4.1

0.4.1 #9

Workflow file for this run

name: release
on:
push:
tags: ["v*"]
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18.x
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/cache@master
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
- run: |
test -n "$NPM_TOKEN"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
pnpm install
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}