Skip to content

Commit

Permalink
ci: fix some action issues
Browse files Browse the repository at this point in the history
  • Loading branch information
limwa committed Dec 25, 2024
1 parent a126e10 commit 436fac1
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
paths: ["website/**"]

jobs:
format:
lint:
name: Linting
runs-on: ubuntu-latest

Expand All @@ -26,13 +26,19 @@ jobs:
sparse-checkout: |
website
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
package_json_file: website/package.json

- uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"
cache-dependency-path: website/pnpm-lock.yaml

- name: Install dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Run lint
run: pnpm run lint

0 comments on commit 436fac1

Please sign in to comment.