Skip to content

Commit

Permalink
chore: fix pnpm E2E test
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena committed May 2, 2022
1 parent 53564f3 commit 230a3fc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ on:
paths:
- packages/**
- tsconfig.json
- .github/workflows/tests-e2e.yml

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down Expand Up @@ -116,7 +117,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
- name: Use Node.js 16
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # v3
with:
Expand Down Expand Up @@ -146,7 +147,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b #v3
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3
- name: Use Node.js 16
uses: actions/setup-node@56337c425554a6be30cdef71bf441f15be286854 # v3
with:
Expand All @@ -158,8 +159,9 @@ jobs:
run: yarn test:build:website -s
- name: Install test-website project with pnpm
run: |
curl -f https://get.pnpm.io/v6.16.js | node - add --global pnpm
pnpm install
npm install -g pnpm
# Fix some peer dependencies errors
pnpm add @algolia/client-search @types/react@17 typescript
working-directory: ../test-website
env:
npm_config_registry: http://localhost:4873
Expand Down

0 comments on commit 230a3fc

Please sign in to comment.