Skip to content

Commit

Permalink
Merge pull request #205 from replayio/filip/dev-607-setup-docs-with-pnpm
Browse files Browse the repository at this point in the history
switch to pnpm
  • Loading branch information
filiphric authored Jun 18, 2024
2 parents b4d829d + 745cdfd commit 7354a9b
Show file tree
Hide file tree
Showing 7 changed files with 6,588 additions and 8,691 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/links.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v1
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: volta-cli/action@v4
with:
node-version: 20.12.0

- name: Install packages
run: npm install
run: pnpm install
- name: Install bun
run: npm install -g bun
run: pnpm install -g bun
- name: Links
run: npm run links
run: pnpm run links
env:
BASE_URL: ${{ github.event.deployment_status.target_url }}
13 changes: 8 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: volta-cli/action@v1
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: volta-cli/action@v4
with:
node-version: 20.12.0

- name: Install packages
run: npm install
run: pnpm install
- name: Lint
run: npm run lint
run: pnpm run lint
- name: Next Build (because it's more strict)
run: npm run build
run: pnpm run build
env:
NEXT_PUBLIC_SITE_URL: 'https://replay.io'
- name: Check formatting
run: npm run prettier:ci
run: pnpm run prettier:ci
9 changes: 6 additions & 3 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,18 @@ jobs:
needs: [wait-for-vercel]
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 8
- uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install dependencies
run: npm ci
run: pnpm i
- name: Install Replay Chromium
run: npx replayio install
run: pnpx replayio install
- name: Run Playwright tests
run: npx playwright test --project replay-chromium
run: pnpm test
env:
BASE_URL: ${{ needs.wait-for-vercel.outputs.preview_url }}
REPLAY_API_KEY: ${{ secrets.REPLAY_API_KEY }}
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pnpm-lock.yaml
Loading

0 comments on commit 7354a9b

Please sign in to comment.