File tree Expand file tree Collapse file tree 2 files changed +26
-6
lines changed
Expand file tree Collapse file tree 2 files changed +26
-6
lines changed Original file line number Diff line number Diff line change 1- name : Tests
1+ name : CI
22
33on :
44 push :
88 workflow_dispatch :
99
1010jobs :
11- run :
11+ lint :
12+ name : Lint
13+ runs-on : ubuntu-latest
14+
15+ steps :
16+ - name : Clone repository
17+ uses : actions/checkout@v2
18+
19+ - name : Set up Node.js
20+ uses : actions/setup-node@v2
21+ with :
22+ node-version : lts/*
23+ cache : npm
24+
25+ - name : Install npm dependencies
26+ run : npm ci
27+
28+ - name : Lint
29+ run : |
30+ echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
31+ npm run test:lint
32+
33+ test :
1234 name : Node on ${{ matrix.os }}
1335 runs-on : ${{ matrix.os }}
1436
3658 run : npm run build
3759
3860 - name : Run tests
39- run : |
40- echo "::add-matcher::.github/workflows/remark-lint-problem-matcher.json"
41- npm test
61+ run : npm run test:unit
4262
4363 - name : Run HTML validator
4464 run : npm run test:html
Original file line number Diff line number Diff line change 11# [ nodejs.org] ( https://nodejs.org/ )
22
3- [ ![ Build Status] ( https://github.com/nodejs/nodejs.org/workflows/Tests /badge.svg )] ( https://github.com/nodejs/nodejs.org/actions?workflow=Tests )
3+ [ ![ CI Status] ( https://github.com/nodejs/nodejs.org/actions/ workflows/ci.yml /badge.svg )] ( https://github.com/nodejs/nodejs.org/actions/workflows/ci.yml?query=branch%3Amain )
44[ ![ MIT Licensed] ( https://img.shields.io/badge/license-MIT-blue.svg )] ( LICENSE )
55[ ![ Crowdin] ( https://badges.crowdin.net/nodejs-website/localized.svg )] ( https://crowdin.com/project/nodejs-website )
66
You can’t perform that action at this time.
0 commit comments