Files
OverlayScrollbars/.github/workflows/test.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 29: found unknown escape character
2022-08-17 11:36:13 +02:00

35 lines
754 B
YAML

name: Test
on:
push:
branches:
- master
permissions:
contents: read
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Run Jest
run: npm run jest
- uses: codecov/codecov-action@v3
with:
flags: unit
files: "**\jest\coverage-final.json"
- name: Run Playwright
run: npm run playwright
- uses: codecov/codecov-action@v3
with:
flags: ui
files: "**\playwright\coverage-final.json"