Skip to content

Commit 1e457d5

Browse files
committed
chore(deps): use npm instead of pnpm
Signed-off-by: Mohamed Elkholy <mkh117@gmail.com>
1 parent 5bf0fdf commit 1e457d5

File tree

5 files changed

+13675
-9371
lines changed

5 files changed

+13675
-9371
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ jobs:
2222
run: |
2323
echo "Node version: $(which node):$(node -v)"
2424
echo "NPM version: $(which npm):$(npm -v)"
25-
- name: Install PNPM
26-
run: volta install pnpm
27-
- name: PNPM Version
28-
run: |
29-
echo "PNPM version: $(which pnpm):$(pnpm -v)"
3025
3126
Build:
3227
needs: [Setup]
@@ -39,18 +34,16 @@ jobs:
3934
token: ${{ secrets.GITHUB_TOKEN }}
4035
- uses: actions/cache@v4
4136
with:
42-
path: ~/.pnpm-store
43-
key: pnpm-install-v3-${{ hashFiles('**/pnpm-lock.yaml') }}
37+
path: ~/.npm
38+
key: npm-install-v3-${{ hashFiles('**/package-lock.json') }}
4439
restore-keys: |
45-
pnpm-install-v3-
46-
- name: Install PNPM
47-
run: volta install pnpm
40+
npm-install-v3-
4841
- name: Install Dependencies
49-
run: pnpm install
42+
run: npm ci
5043
- name: Lint
51-
run: pnpm lint
44+
run: npm run lint
5245
- name: Build
53-
run: pnpm build
46+
run: npm run build
5447
- if: github.event_name == 'push'
5548
uses: actions/upload-artifact@v4
5649
with:

.npmrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
1-
shamefully-hoist=true
1+
prefer-dedupe
2+
legacy-peer-deps

0 commit comments

Comments
 (0)