Skip to content

fix lint

fix lint #155

Workflow file for this run

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: 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 }}