File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 14
14
uses : actions/setup-node@v4
15
15
with :
16
16
node-version-file : ' .nvmrc'
17
- - run : npm i -g npm@10.5.0
18
17
- run : npm ci
18
+ - run : npm run check-node-version
19
19
- run : npm run standards
20
20
test :
21
21
needs : [ build ]
31
31
uses : actions/setup-node@v4
32
32
with :
33
33
node-version : ${{ matrix.node-version }}
34
- - run : npm i -g npm@10.5.0
35
34
- run : npm ci # Reinstall the dependencies to ensure they install with the current version of node
36
35
- run : npm test
37
36
- name : Coveralls
Original file line number Diff line number Diff line change 4
4
"description" : " Plugin for the SLS 1.x branch to provide support for Lambda@Edge (not currently supported by CloudFormation" ,
5
5
"main" : " src/index.js" ,
6
6
"scripts" : {
7
- "test" : " check-node-version --npm 10.5.0 && nyc mocha -- 'src/tests/**/*.test.js'" ,
7
+ "test" : " nyc mocha -- 'src/tests/**/*.test.js'" ,
8
+ "check-node-version" : " check-node-version --npm 10.5.0" ,
8
9
"commitlint" : " commitlint --from 4fbfbef" ,
9
10
"eslint" : " eslint ." ,
10
11
"markdownlint" : " markdownlint -c .markdownlint.json '{,!(node_modules)/**/}*.md'" ,
You can’t perform that action at this time.
0 commit comments