Skip to content

automatic release

automatic release #92

Workflow file for this run

name: automatic release
on:
push:
tags:
- 'v*'
jobs:
release:
name: package publish
runs-on: ubuntu-latest
env:
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }}
TURBO_TEAM: ${{ secrets.TURBO_TEAM }}
steps:
- name: checkout
uses: actions/checkout@v3
- name: Setup Node.js environment
uses: actions/setup-node@v3
with:
node-version: 18.x
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v2.2.4
with:
version: 7.29.0
- name: install
run: pnpm i
- name: build
run: pnpm run build
- name: release
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}