Skip to content

Commit

Permalink
chore(deps): use npm instead of pnpm
Browse files Browse the repository at this point in the history
Signed-off-by: Mohamed Elkholy <[email protected]>
  • Loading branch information
mohatt committed Sep 3, 2024
1 parent 5bf0fdf commit 1e457d5
Show file tree
Hide file tree
Showing 5 changed files with 13,675 additions and 9,371 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,6 @@ jobs:
run: |
echo "Node version: $(which node):$(node -v)"
echo "NPM version: $(which npm):$(npm -v)"
- name: Install PNPM
run: volta install pnpm
- name: PNPM Version
run: |
echo "PNPM version: $(which pnpm):$(pnpm -v)"
Build:
needs: [Setup]
Expand All @@ -39,18 +34,16 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/cache@v4
with:
path: ~/.pnpm-store
key: pnpm-install-v3-${{ hashFiles('**/pnpm-lock.yaml') }}
path: ~/.npm
key: npm-install-v3-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
pnpm-install-v3-
- name: Install PNPM
run: volta install pnpm
npm-install-v3-
- name: Install Dependencies
run: pnpm install
run: npm ci
- name: Lint
run: pnpm lint
run: npm run lint
- name: Build
run: pnpm build
run: npm run build
- if: github.event_name == 'push'
uses: actions/upload-artifact@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
shamefully-hoist=true
prefer-dedupe
legacy-peer-deps
Loading

0 comments on commit 1e457d5

Please sign in to comment.