29 lines
614 B
YAML
29 lines
614 B
YAML
name: Test Runner
|
|
|
|
on:
|
|
push:
|
|
branches: [develop, main]
|
|
pull_request:
|
|
branches: [develop, main]
|
|
|
|
jobs:
|
|
build:
|
|
name: Tests
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
node-version: '20.x'
|
|
- name: Install dependencies
|
|
run: yarn
|
|
- name: Run tests
|
|
run: yarn test
|
|
# - name: Upload coverage reports to Codecov
|
|
# uses: codecov/codecov-action@v3
|
|
# with:
|
|
# token: ${{ secrets.CODECOV_TOKEN }}
|
|
# files: coverage/lcov.info
|