Skip to content

Merge pull request #1 from alanlu-dev/dev #1

Merge pull request #1 from alanlu-dev/dev

Merge pull request #1 from alanlu-dev/dev #1

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
release:
timeout-minutes: 20
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
- uses: pnpm/action-setup@v2
with:
version: 8
- name: install dependencies
run: pnpm install --frozen-lockfile
- name: build packages
run: pnpm run build
- name: Create Release Pull Request or Publish to npm
uses: changesets/action@v1
with:
version: pnpm run version
publish: pnpm run release
commit: "chore: new release"
title: "chore: new release candidate"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}