sql-dsl/.github/workflows/coverage.yml

36 lines
622 B
YAML
Raw Normal View History

2021-07-11 11:04:04 +00:00
name: Code Coverage
on:
push:
2022-09-24 00:56:33 +00:00
branches: ["master"]
2021-07-11 11:04:04 +00:00
pull_request:
jobs:
coverage:
name: Codecov
runs-on: ubuntu-latest
steps:
2022-09-24 00:56:33 +00:00
- name: Checkout repository
uses: actions/checkout@v2
2021-07-11 11:04:04 +00:00
2022-09-24 00:56:33 +00:00
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 14
2021-07-11 11:04:04 +00:00
2022-09-24 00:56:33 +00:00
- name: Installing dependencies
run: npm install
2021-07-13 06:22:43 +00:00
2022-09-24 00:56:33 +00:00
- name: Lint
run: npm run lint
2021-07-11 11:04:04 +00:00
2022-09-24 00:56:33 +00:00
- name: Running test
run: npm run test
2021-07-11 11:04:04 +00:00
2022-09-24 00:56:33 +00:00
- name: Upload to Codecov
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}