mirror of
https://github.com/DustinBrett/daedalOS.git
synced 2026-01-15 12:15:02 +00:00
26 lines
676 B
YAML
26 lines
676 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
|
|
jobs:
|
|
tests:
|
|
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: NODE_OPTIONS='--openssl-legacy-provider' yarn
|
|
- name: Run Jest Unit Tests
|
|
run: NODE_OPTIONS='--openssl-legacy-provider' yarn test
|
|
- name: Run Build & Start
|
|
run: NODE_OPTIONS='--openssl-legacy-provider' yarn start
|
|
- name: Install Playwright Browsers
|
|
run: yarn playwright install --with-deps
|
|
- name: Run Playwright E2E Tests
|
|
run: yarn e2e
|