-
Notifications
You must be signed in to change notification settings - Fork 0
35 lines (35 loc) · 1.04 KB
/
lint-test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
---
name: Lint and Test
on: # yamllint disable-line rule:truthy
- push
jobs:
lint-test:
name: Lint and Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: yamllint
uses: ibiqlik/action-yamllint@v3
with:
strict: true
- name: markdownlint
uses: nosborn/[email protected]
with:
files: .
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '21'
- name: Install
run: npm ci
- name: ESLint
run: npm run lint
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}