* chore: cleanup handling of a bad read

* chore: configure e2e testing

* chore: version bump
This commit is contained in:
Carlos Valente
2023-04-02 19:07:13 +02:00
committed by GitHub
parent 0e47b5c10c
commit 03e7428348
17 changed files with 140 additions and 303 deletions
+38 -4
View File
@@ -6,9 +6,43 @@ on:
workflow_dispatch:
jobs:
e2e-test:
timeout-minutes: 20
unit-test:
runs-on: ubuntu-latest
timeout-minutes: 20
env:
CI: ''
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.4
with:
version: 7.26.3
- name: Install dependencies
run: pnpm install --frozen-lockfile
# We choose to run tests separately
- name: React - Run unit tests
run: pnpm test:pipeline
working-directory: ./apps/client
- name: Server - Run unit tests
run: pnpm test:pipeline
working-directory: ./apps/server
- name: Utils - Run unit tests
run: pnpm test:pipeline
working-directory: ./packages/utils
e2e-test:
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
- uses: actions/checkout@v3
@@ -26,13 +60,13 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Build client
run: turbo build:local
run: pnpm build:local
- name: Install Playwright Browsers
run: npx playwright install --with-deps
- name: Run Playwright tests
run: npx playwright test
run: pnpm e2e
- uses: actions/upload-artifact@v3
if: always()