Files
OverlayScrollbars/.github/workflows/test.yml
T
2022-08-17 11:20:50 +02:00

35 lines
774 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:
files: ./coverage1.xml,./coverage2.xml
flags: unittests
# - name: Run Playwright
# run: npm run playwright
# - uses: codecov/codecov-action@v3
# with:
# files: ./coverage1.xml,./coverage2.xml
# flags: uitests