Skip to content

Version Packages (#618) #33

Version Packages (#618)

Version Packages (#618) #33

Workflow file for this run

name: Release
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
steps:
- name: Checkout Branch
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Setup
run: pnpm run setup
- name: Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.LUHC228_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}