Skip to content

Commit

Permalink
Enable corepack and use yarn 4
Browse files Browse the repository at this point in the history
  • Loading branch information
razzeee committed Jul 17, 2024
1 parent 6d734fc commit 0845956
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,11 @@ jobs:
with:
node-version: "18"

- name: Corepack enable
run: corepack enable

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Typecheck
run: yarn typecheck
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ jobs:
cache: yarn
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Corepack enable
run: corepack enable
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Build website
run: yarn build
- name: Upload artifact
Expand Down

0 comments on commit 0845956

Please sign in to comment.