File tree Expand file tree Collapse file tree 4 files changed +31
-9
lines changed Expand file tree Collapse file tree 4 files changed +31
-9
lines changed Original file line number Diff line number Diff line change
1
+ name : Tests
2
+ on : [push, pull_request]
3
+
4
+ jobs :
5
+ test :
6
+ runs-on : ubuntu-latest
7
+
8
+ steps :
9
+ - name : Clone repository
10
+ uses : actions/checkout@v1
11
+
12
+ - name : Clone nodejs/node repository
13
+ run : git clone https://github.com/nodejs/node.git tmp --depth 1
14
+
15
+ - name : Set up Node.js
16
+ uses : actions/setup-node@v1
17
+ with :
18
+ node-version : " 12"
19
+
20
+ - run : node --version
21
+ - run : npm --version
22
+
23
+ - name : Install npm dependencies
24
+ run : npm ci
25
+ env :
26
+ CI : true
27
+
28
+ - name : Run tests
29
+ run : npm run test-ci
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
1
# remark-preset-lint-node
2
2
3
- [ ![ Build Status] ( https://travis-ci .com/nodejs/remark-preset-lint-node.svg?branch=master )] ( https://travis-ci .com/nodejs/remark-preset-lint-node )
3
+ [ ![ Build Status] ( https://github .com/nodejs/remark-preset-lint-node/workflows/Tests/badge .svg )] ( https://github .com/nodejs/remark-preset-lint-node/actions )
4
4
5
5
remark preset to configure remark-lint with settings for nodejs/node
6
6
Original file line number Diff line number Diff line change 5
5
"main" : " index.js" ,
6
6
"scripts" : {
7
7
"test" : " prettier index.js --write" ,
8
- "travis " : " remark tmp/doc/**/*.md --use . --frail --quiet"
8
+ "test-ci " : " remark tmp/doc/**/*.md --use . --frail --quiet"
9
9
},
10
10
"repository" : {
11
11
"type" : " git" ,
You can’t perform that action at this time.
0 commit comments