feat: add escape brackets feature #173
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: publish | |
cancel-in-progress: true | |
jobs: | |
publish: | |
name: Publish packages to npm | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
registry-url: "https://registry.npmjs.org" | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build all packages | |
run: pnpm build | |
- name: Validate all packages | |
run: pnpm ci:validate | |
- name: Publish all packages | |
uses: changesets/action@v1 | |
with: | |
version: pnpm ci:version | |
commit: "chore: update versions" | |
title: "chore: update versions" | |
publish: pnpm ci:publish | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_TOKEN }} |