55 pull_request :
66 types : [ assigned, opened, synchronize, reopened, labeled ]
77name : ci
8+
9+ permissions :
10+ contents : read
11+
812jobs :
13+ test-18 :
14+ runs-on : ubuntu-latest
15+ strategy :
16+ matrix :
17+ node : [18]
18+ steps :
19+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
20+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
21+ with :
22+ node-version : ${{ matrix.node }}
23+ - run : node --version
24+ # The first installation step ensures that all of our production
25+ # dependencies work on the given Node.js version, this helps us find
26+ # dependencies that don't match our engines field:
27+ - run : npm install --production --ignore-scripts --no-package-lock
28+ # Clean up the production install, before installing dev/production:
29+ - run : rm -rf node_modules
30+ - run : npm install
31+ - run : npm test
32+ env :
33+ MOCHA_THROW_DEPRECATION : false
934 test :
1035 runs-on : ubuntu-latest
1136 strategy :
1237 matrix :
13- node : [18, 20, 22]
38+ node : [20, 22]
1439 steps :
15- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
16- - uses : actions/setup-node@v6
40+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
41+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
1742 with :
1843 node-version : ${{ matrix.node }}
1944 - run : node --version
3055 windows :
3156 runs-on : windows-latest
3257 steps :
33- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
34- - uses : actions/setup-node@v6
58+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
59+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
3560 with :
3661 node-version : 22
3762 - run : npm install
@@ -41,17 +66,17 @@ jobs:
4166 lint :
4267 runs-on : ubuntu-latest
4368 steps :
44- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
45- - uses : actions/setup-node@v6
69+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
70+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
4671 with :
4772 node-version : 22
4873 - run : npm install
4974 - run : npm run lint
5075 docs :
5176 runs-on : ubuntu-latest
5277 steps :
53- - uses : actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5
54- - uses : actions/setup-node@v6
78+ - uses : actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
79+ - uses : actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7
5580 with :
5681 node-version : 22
5782 - run : npm install
0 commit comments