Skip to content

Release

Release #60

Workflow file for this run

name: Release
permissions:
contents: write
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Set node
uses: actions/setup-node@v3
with:
registry-url: https://registry.npmjs.org/
node-version: 16.x
- name: Setup
run: npm i -g @antfu/ni
- name: Install
run: nci
- run: npm start
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}