Skip to content

Commit

Permalink
potential gh actions fix
Browse files Browse the repository at this point in the history
  • Loading branch information
funwithtriangles committed Dec 5, 2024
1 parent 9499751 commit 074f4bb
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,21 @@ jobs:
with:
node-version: '20'

- name: Install Yarn
run: corepack enable && corepack prepare [email protected] --activate # Specify the Yarn version you're using

- name: Cache Yarn dependencies
uses: actions/cache@v3
with:
path: |
.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
run: yarn install --immutable --check-cache # Immutable mode to ensure lock file consistency

- name: Run TypeScript, ESLint, and Prettier checks
run: |
Expand Down

0 comments on commit 074f4bb

Please sign in to comment.