Skip to content

Commit

Permalink
🔧 pnpm on GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ras0q committed Sep 9, 2024
1 parent 59d64fb commit 9d31361
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,22 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: "package.json"
- run: npm install
- run: npm run build
node-version-file: ".node-version"
cache: "pnpm"
- run: pnpm install
- run: pnpm build

biome:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: "package.json"
- run: npm install
- run: npm run biome -- check .
node-version-file: ".node-version"
cache: "pnpm"
- run: pnpm install
- run: pnpm biome check .

0 comments on commit 9d31361

Please sign in to comment.