Skip to content

Commit

Permalink
Convert to pnpm because npm no longer works.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisl8 committed Oct 3, 2024
1 parent c11254f commit 79ef25b
Show file tree
Hide file tree
Showing 8 changed files with 6,203 additions and 10,856 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/client.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
cache-dependency-path: ./package-lock.json
cache: 'pnpm'
- run: ./scripts/versionNumberUpdate.sh
- run: npm ci
- run: npm run build
- run: pnpm i
- run: pnpm run build
8 changes: 7 additions & 1 deletion .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- uses: actions/setup-node@v4
with:
node-version: latest
- name: Install dependencies
run: npm ci
run: pnpm i
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Set Version Number
Expand Down
11 changes: 8 additions & 3 deletions .github/workflows/server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Checkout
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
version: 9
run_install: false
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'npm'
cache-dependency-path: ./package-lock.json
cache: 'pnpm'
- run: ./scripts/versionNumberUpdate.sh
- run: npm ci
- run: pnpm i
- run: node server/server.js
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
node-linker=hoisted
Loading

0 comments on commit 79ef25b

Please sign in to comment.