Skip to content

chore: release v1.2.1 #47

chore: release v1.2.1

chore: release v1.2.1 #47

Workflow file for this run

name: release
on:
push:
branches:
- main
jobs:
main:
runs-on: ubuntu-latest
env:
CI: true
steps:
- uses: actions/checkout@v3
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'pnpm'
- name: Setup npm auth
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: |
pnpm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
pnpm whoami
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Build packages
run: pnpm run build:release
- name: Publish packages
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
run: pnpm -r publish --access public --no-git-checks