diff options
| author | 2026-01-20 13:44:21 +0800 | |
|---|---|---|
| committer | 2026-01-20 13:44:21 +0800 | |
| commit | 7338b8627833018a0e3c05c3c4f3cc7fc182e8d2 (patch) | |
| tree | 23e39e5603aadc10d6b2d7efad063c68f357a860 /.github/workflows/lint.yml | |
| parent | dbf781a35b96252e0199fec4337515651e49a8f6 (diff) | |
| parent | cf6cd6ba667b35e352b705946420cf4acab2b004 (diff) | |
| download | DropOut-7338b8627833018a0e3c05c3c4f3cc7fc182e8d2.tar.gz DropOut-7338b8627833018a0e3c05c3c4f3cc7fc182e8d2.zip | |
[Chore] branch: Sync with main (#75)
Diffstat (limited to '.github/workflows/lint.yml')
| -rw-r--r-- | .github/workflows/lint.yml | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5c4a69d..d5bd131 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -4,7 +4,7 @@ on: push: branches: ["main", "dev"] paths: - - "ui/**" + - "packages/**" workflow_dispatch: permissions: @@ -15,30 +15,27 @@ jobs: if: github.event_name != 'pull_request' runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: token: ${{ secrets.GITHUB_TOKEN }} - + - name: Install pnpm uses: pnpm/action-setup@v4 - with: - version: 9 - name: Install Node.js uses: actions/setup-node@v4 with: node-version: 22 cache: "pnpm" - cache-dependency-path: "ui/pnpm-lock.yaml" + cache-dependency-path: "pnpm-lock.yaml" - run: pnpm install - working-directory: ui - run: pnpm format - working-directory: ui + working-directory: packages/ui - run: pnpm lint:fix - working-directory: ui + working-directory: packages/ui - name: Commit changes uses: stefanzweifel/git-auto-commit-action@v5 |