Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 14 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,23 @@ jobs:
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 10.13.1
run_install: false

- name: Install dependencies
- name: Set up Node
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'yarn'
- run: yarn install --frozen-lockfile # optional, --immutable
node-version: 22
cache: 'pnpm'

- run: pnpm install --frozen-lockfile # optional, --immutable

- name: Start firebase in background
run: yarn firebase &
run: pnpm firebase &

# - name: sleep for 30 seconds
# run: sleep 30
Expand All @@ -41,8 +48,8 @@ jobs:
- name: Start app and run tests
uses: cypress-io/github-action@v4
with:
build: yarn build
start: yarn start
build: pnpm build
start: pnpm start
wait-on: 'http://localhost:8082, http://localhost:8081'
env:
FIREBASE_PRIVATE_KEY: ${{ secrets.FIREBASE_PRIVATE_KEY }}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"type": "module",
"packageManager": "[email protected]",
"scripts": {
"build": "bun run lint:fix; next build",
"build": "pnpm run lint:fix; next build",
"dev": "next dev",
"firebase": "firebase emulators:start",
"lint": "biome check",
Expand Down
Loading