Skip to content

chore: release v1.9.2 #228

chore: release v1.9.2

chore: release v1.9.2 #228

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
- uses: actions/setup-node@v2
with:
node-version: '18'
registry-url: https://registry.npmjs.org/
cache: pnpm
- run: npm i -g @antfu/ni
- run: npx changelogithub
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- run: nci
- run: nr build
- run: nr test --if-present
- run: npm run publish:ci
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}