Skip to content

Commit

Permalink
build: change to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
zettca committed Sep 18, 2023
1 parent 7cc57e7 commit 0e509e4
Show file tree
Hide file tree
Showing 6 changed files with 4,277 additions and 6,975 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

24 changes: 16 additions & 8 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,20 @@ jobs:

- uses: actions/setup-node@v3

- run: npm ci
- uses: pnpm/action-setup@v2
with:
version: 8

- run: pnpm i

- name: Static checks
run: npm run check
- name: Check
run: pnpm check

- name: Test
run: npm run test
run: pnpm test

- name: Build
run: npm run build -- --base=/pacex/
run: pnpm build -- --base=/pacex/

- uses: actions/[email protected]
with:
Expand All @@ -52,13 +56,17 @@ jobs:

- uses: actions/setup-node@v3

- run: npm ci
- uses: pnpm/action-setup@v2
with:
version: 8

- run: pnpm i

- name: Install Playwright Browsers
run: npx playwright install --with-deps
run: pnpm playwright install --with-deps

- name: Run Playwright tests
run: npx playwright test
run: pnpm playwright test

Publish:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
dist
pnpm-lock.yaml
Loading

0 comments on commit 0e509e4

Please sign in to comment.