Skip to content

Commit

Permalink
[build] Migrating to yarn 2
Browse files Browse the repository at this point in the history
  • Loading branch information
MohamedBassem committed Feb 8, 2024
1 parent bae1bcc commit 7385c70
Show file tree
Hide file tree
Showing 5 changed files with 7,056 additions and 5,014 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,16 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# This is a workaround for: https://github.com/actions/setup-node/issues/899
- name: Enable Corepack before setting up Node
run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 21
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install deps
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Lint
run: yarn eslint .
- name: Format
Expand Down
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,6 @@
"eslint-config-next": "14.1.0",
"prettier": "3.2.5",
"typescript": "^5"
}
},
"packageManager": "yarn@4.1.0"
}
4 changes: 2 additions & 2 deletions packages/db/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"private": true,
"main": "index.ts",
"dependencies": {
"prisma": "^5.9.1",
"@prisma/client": "^5.9.1"
"@prisma/client": "^5.9.1",
"prisma": "^5.9.1"
}
}
Loading

0 comments on commit 7385c70

Please sign in to comment.