Skip to content

v0.4.0

v0.4.0 #8

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: actions/cache@master
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
- run: |
test -n "$NPM_TOKEN"
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
yarn install
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}