Skip to content

Commit

Permalink
Merge pull request #157 from infnibor/patch-1
Browse files Browse the repository at this point in the history
Fix workflow error v2
  • Loading branch information
appujet authored Feb 26, 2025
2 parents 5626d94 + 9791015 commit 9ae1be4
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/main .yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Fix Corepack Key Issue
- name: Corepack
run: |
corepack disable
rm -rf ~/.cache/corepack
npm install -g corepack
corepack enable
corepack prepare pnpm@latest --activate
corepack prepare pnpm@latest --activate || (corepack enable && corepack prepare pnpm@latest --activate)
- name: Setup Node.js
uses: actions/setup-node@v4
Expand All @@ -31,7 +33,7 @@ jobs:

- name: Install Dependencies
working-directory: apps/workflows
run: pnpm install
run: pnpm install || (rm -rf node_modules && pnpm install)

- name: Build
working-directory: apps/workflows
Expand Down

0 comments on commit 9ae1be4

Please sign in to comment.