1111 matrix :
1212 node : [18, 20, 22]
1313 steps :
14- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
14+ - uses : actions/checkout@v4
1515 - uses : actions/setup-node@v4
1616 with :
1717 node-version : ${{ matrix.node }}
@@ -22,25 +22,39 @@ jobs:
2222 - run : npm install --production --engine-strict --ignore-scripts --no-package-lock
2323 # Clean up the production install, before installing dev/production:
2424 - run : rm -rf node_modules
25- - run : npm install
25+ - run : npm install --engine-strict
26+ - run : npm test
27+ env :
28+ MOCHA_THROW_DEPRECATION : false
29+ test-script :
30+ runs-on : ubuntu-latest
31+ steps :
32+ - uses : actions/checkout@v4
33+ - uses : actions/setup-node@v4
34+ with :
35+ node-version : 18
36+ - run : node --version
37+ - run : npm install --engine-strict
38+ working-directory : .github/scripts
2639 - run : npm test
40+ working-directory : .github/scripts
2741 env :
2842 MOCHA_THROW_DEPRECATION : false
2943 windows :
3044 runs-on : windows-latest
3145 steps :
32- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
46+ - uses : actions/checkout@v4
3347 - uses : actions/setup-node@v4
3448 with :
3549 node-version : 18
36- - run : npm install
50+ - run : npm install --engine-strict
3751 - run : npm test
3852 env :
3953 MOCHA_THROW_DEPRECATION : false
4054 lint :
4155 runs-on : ubuntu-latest
4256 steps :
43- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
57+ - uses : actions/checkout@v4
4458 - uses : actions/setup-node@v4
4559 with :
4660 node-version : 18
4963 docs :
5064 runs-on : ubuntu-latest
5165 steps :
52- # See: https://github.com/JustinBeckwith/linkinator-action/issues/148
53- - run : echo "temporarily skipping until linkinator's fixed upstream"
66+ - uses : actions/checkout@v4
67+ - uses : actions/setup-node@v4
68+ with :
69+ node-version : 18
70+ - run : npm install
71+ - run : npm run docs
72+ - uses : JustinBeckwith/linkinator-action@v1
73+ with :
74+ paths : docs/
0 commit comments