chore: Switch from yarn to pnpm

This commit is contained in:
Sidharth Vinod
2025-03-16 19:19:10 -07:00
parent b5be8ca4fc
commit 592c3addac
13 changed files with 8529 additions and 7084 deletions
+8 -5
View File
@@ -20,28 +20,31 @@ jobs:
uses: actions/checkout@v4
- uses: actions/cache@v4
id: yarn-and-build-cache
id: pnpm-and-build-cache
with:
path: |
~/.cache/Cypress
build
node_modules
key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-node_modules-build-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-node_modules-build-
- uses: actions/setup-node@v4
with:
node-version-file: '.node-version'
cache: 'yarn'
cache: 'pnpm'
- name: Install pnpm
uses: pnpm/action-setup@v3
# Install NPM dependencies, cache them correctly
# and run all Cypress tests
- name: Cypress run
uses: cypress-io/github-action@v6
with:
build: yarn build
start: yarn preview
build: pnpm build
start: pnpm preview
wait-on: 'http://localhost:3000'
record: true
parallel: true