Skip to content

Commit

Permalink
Merge pull request #19 from NIAEFEUP/ci/fix-linting-action
Browse files Browse the repository at this point in the history
ci: fix some action issues
  • Loading branch information
limwa authored Dec 25, 2024
2 parents a126e10 + 436fac1 commit 21b03e5
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 21b03e5

Please sign in to comment.