File tree Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Expand file tree Collapse file tree 1 file changed +34
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Smoke Test
2
+
3
+ on :
4
+ pull_request :
5
+ push :
6
+ branches-ignore :
7
+ - ' dependabot/**'
8
+ schedule :
9
+ - cron : ' 30 12 * * *'
10
+ workflow_dispatch :
11
+
12
+ jobs :
13
+ smoke-test :
14
+ runs-on : ${{ matrix.os }}
15
+
16
+ strategy :
17
+ fail-fast : false
18
+ matrix :
19
+ os : [ macos-latest, ubuntu-latest, windows-latest ]
20
+ node-version : [ 16, 18, 20 ]
21
+
22
+ steps :
23
+ - uses : actions/checkout@v3
24
+ - uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ${{ matrix.node-version }}
27
+ - run : npm clean-install
28
+ - run : npm pack
29
+ - run : npm exec --yes -- cpy-cli "markdownlint-cli2-*.tgz" . --rename=markdownlint-cli2.tgz
30
+ - run : npm exec --yes -- del-cli node_modules .npmrc package.json package-lock.json npm-shrinkwrap.json
31
+ - run : npm install markdownlint-cli2.tgz
32
+ - run : node_modules/.bin/markdownlint-cli2 README.md
33
+ - run : npm clean-install
34
+ - run : node_modules/.bin/markdownlint-cli2 README.md
You can’t perform that action at this time.
0 commit comments