Skip to content

Commit

Permalink
Merge pull request #89 from LaurelineSwissBorg/fix/ci-corepack
Browse files Browse the repository at this point in the history
fix: Enable Corepack in CI
  • Loading branch information
lomigmegard authored May 13, 2024
2 parents 3de8b65 + c75b5ea commit 2c46801
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,20 +7,25 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ">=18.0.0"
- name: Test
run: yarn install && yarn test

format:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: ">=18.0.0"
- name: Test
run: yarn prettier --check .
run: yarn install && yarn prettier --check .

0 comments on commit 2c46801

Please sign in to comment.