Skip to content

Commit

Permalink
Updated deps, moved to pnpm, updated deprecated methods
Browse files Browse the repository at this point in the history
  • Loading branch information
rschwabco committed Sep 20, 2024
1 parent 0361bcb commit 0d2bd59
Show file tree
Hide file tree
Showing 11 changed files with 6,558 additions and 8,711 deletions.
57 changes: 37 additions & 20 deletions .github/workflows/playwright.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,27 +8,44 @@ on:
- '**'
workflow_dispatch:
jobs:
install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9 # Specify the pnpm version here

test:
needs: install
timeout-minutes: 60
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install dependencies
run: npm ci
- name: Build application
run: npm run build
- name: Start server
run: npm start &
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 9 # Specify the pnpm version here
- name: Install dependencies
run: pnpm install
- name: Build application
run: pnpm run build
- name: Start server
run: pnpm start &
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
- uses: actions/upload-artifact@v3
if: always()
with:
name: playwright-report
path: playwright-report/
retention-days: 30
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ yarn-error.log*
next-env.d.ts
.env

#pnpm
pnpm-lock.yaml
/test-results/
/playwright-report/
/playwright/.cache/
2 changes: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/app/building-your-application/configuring/typescript for more information.
Loading

0 comments on commit 0d2bd59

Please sign in to comment.