Skip to content

Merge branch 'main' of github.com:RopeScore/rulesets into apk-ss-inte… #83

Merge branch 'main' of github.com:RopeScore/rulesets into apk-ss-inte…

Merge branch 'main' of github.com:RopeScore/rulesets into apk-ss-inte… #83

Workflow file for this run

name: QA
on: [push, pull_request]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: npm
- run: npm ci --prefer-offline
- run: npm run lint
- run: npm run typecheck
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: npm
- run: npm ci --prefer-offline
- run: npm t
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- name: Upload test results to Codecov
uses: codecov/test-results-action@v1
with:
file: ./coverage/junit.xml
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}