Skip to content

Commit 7354a9b

Browse files
authored
Merge pull request #205 from replayio/filip/dev-607-setup-docs-with-pnpm
switch to pnpm
2 parents b4d829d + 745cdfd commit 7354a9b

File tree

7 files changed

+6588
-8691
lines changed

7 files changed

+6588
-8691
lines changed

.github/workflows/links.yml

+7-4
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,18 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- uses: actions/checkout@v4
12-
- uses: volta-cli/action@v1
12+
- uses: pnpm/action-setup@v4
13+
with:
14+
version: 8
15+
- uses: volta-cli/action@v4
1316
with:
1417
node-version: 20.12.0
1518

1619
- name: Install packages
17-
run: npm install
20+
run: pnpm install
1821
- name: Install bun
19-
run: npm install -g bun
22+
run: pnpm install -g bun
2023
- name: Links
21-
run: npm run links
24+
run: pnpm run links
2225
env:
2326
BASE_URL: ${{ github.event.deployment_status.target_url }}

.github/workflows/lint.yml

+8-5
Original file line numberDiff line numberDiff line change
@@ -12,17 +12,20 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v4
15-
- uses: volta-cli/action@v1
15+
- uses: pnpm/action-setup@v4
16+
with:
17+
version: 8
18+
- uses: volta-cli/action@v4
1619
with:
1720
node-version: 20.12.0
1821

1922
- name: Install packages
20-
run: npm install
23+
run: pnpm install
2124
- name: Lint
22-
run: npm run lint
25+
run: pnpm run lint
2326
- name: Next Build (because it's more strict)
24-
run: npm run build
27+
run: pnpm run build
2528
env:
2629
NEXT_PUBLIC_SITE_URL: 'https://replay.io'
2730
- name: Check formatting
28-
run: npm run prettier:ci
31+
run: pnpm run prettier:ci

.github/workflows/playwright.yml

+6-3
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,18 @@ jobs:
2020
needs: [wait-for-vercel]
2121
steps:
2222
- uses: actions/checkout@v4
23+
- uses: pnpm/action-setup@v4
24+
with:
25+
version: 8
2326
- uses: actions/setup-node@v4
2427
with:
2528
node-version: lts/*
2629
- name: Install dependencies
27-
run: npm ci
30+
run: pnpm i
2831
- name: Install Replay Chromium
29-
run: npx replayio install
32+
run: pnpx replayio install
3033
- name: Run Playwright tests
31-
run: npx playwright test --project replay-chromium
34+
run: pnpm test
3235
env:
3336
BASE_URL: ${{ needs.wait-for-vercel.outputs.preview_url }}
3437
REPLAY_API_KEY: ${{ secrets.REPLAY_API_KEY }}

.prettierignore

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

0 commit comments

Comments
 (0)