Skip to content

Commit

Permalink
Switch to PNPM
Browse files Browse the repository at this point in the history
  • Loading branch information
ab-smith committed Jul 16, 2024
1 parent 56fad21 commit 685da08
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/frontend-coverage.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,15 +26,15 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install latest npm
- name: Install latest pnpm
working-directory: ${{env.working-directory}}
run: |
npm install -g npm &&
npm --version &&
npm list -g --depth 0
npm install -g pnpm &&
pnpm --version &&
pnpm list -g --depth 0
- name: Install dependencies
working-directory: ${{env.working-directory}}
run: npm ci
run: pnpm i --frozen-lockfile
- name: Run coverage
working-directory: ${{env.working-directory}}
run: npm run coverage
run: pnpm run coverage
10 changes: 5 additions & 5 deletions .github/workflows/frontend-unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ jobs:
- name: Install latest npm
working-directory: ${{env.working-directory}}
run: |
npm install -g npm &&
npm --version &&
npm list -g --depth 0
npm install -g pnpm &&
pnpm --version &&
pnpm list -g --depth 0
- name: Install dependencies
working-directory: ${{env.working-directory}}
run: npm ci
run: pnpm i --frozen-lockfile
- name: Run tests
working-directory: ${{env.working-directory}}
run: npm run test:ci
run: pnpm run test:ci
4 changes: 2 additions & 2 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ jobs:
- name: Install dependencies
working-directory: ${{ env.working-directory }}
run: |
npm install
npm ci
npm install -g pnpm
pnpm i --frozen-lockfile
- name: Install Playwright browser ${{ matrix.playwright-browser }}
working-directory: ${{ env.working-directory }}
run: npx playwright install --with-deps ${{ matrix.playwright-browser }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/startup-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ jobs:
- name: Install dependencies
working-directory: ${{ env.working-directory }}
run: |
npm install
npm ci
npm install -g pnpm
pnpm i --frozen-lockfile
- name: Install Playwright Browsers
working-directory: ${{ env.working-directory }}
run: npx playwright install --with-deps
Expand Down Expand Up @@ -101,8 +101,8 @@ jobs:
- name: Install dependencies
working-directory: ${{ env.working-directory }}
run: |
npm install
npm ci
npm install -g pnpm
pnpm i --frozen-lockfile
- name: Install Playwright Browsers
working-directory: ${{ env.working-directory }}
run: npx playwright install --with-deps
Expand Down

0 comments on commit 685da08

Please sign in to comment.