json-theme-even-fork/.github/workflows/main.yml

31 lines
530 B
YAML
Raw Normal View History

2020-07-05 15:17:34 +02:00
name: Main
on: push
jobs:
test-and-release:
name: Test and build
2020-07-05 15:17:34 +02:00
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
2020-07-05 15:17:34 +02:00
- name: Setup Node.js
uses: actions/setup-node@v3
2020-07-05 15:17:34 +02:00
with:
2022-01-30 23:51:27 +01:00
node-version: 16
2020-07-05 15:17:34 +02:00
- name: Install
run: npm ci
- name: Lint
run: npm run lint
- name: Test
2023-01-31 02:37:41 +01:00
run: npm test -- --coverage
- name: Build
run: npm run build
- name: Coverage
uses: codecov/codecov-action@v3