File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change 1414 matrix :
1515 sls-major-version : ["2", "3"]
1616 steps :
17+ - name : Check SLS version 1
18+ run : |
19+ npm info serverless version || true
20+
1721 - name : Checkout repository
1822 uses : actions/checkout@v3
1923
2226 with :
2327 node-version : ' 18'
2428
29+ - name : Check SLS version 2
30+ run : |
31+ npm info serverless version || true
32+
2533 - name : Cache node modules
2634 uses : actions/cache@v3
2735 env :
@@ -34,12 +42,21 @@ jobs:
3442
3543 - name : Install deps
3644 run : |
45+ echo test1
46+ npm info serverless version
3747 # uninstall any existing global serverless installations, if exists
48+ echo test2
49+ node -e 'console.log(require.resolve("serverless"));'
3850 npm uninstall -g serverless || true
3951 npm uninstall serverless || true
52+ node -e 'console.log(require.resolve("serverless"));'
53+ echo test3
4054 npm info serverless version
55+ echo test4
4156 # install dependencies
4257 npm install
58+ echo test5
59+ npm info serverless version
4360
4461 - name : Update SLS version to v3
4562 if : ${{ matrix.sls-major-version == '3' }}
Original file line number Diff line number Diff line change 1010 "test:watch" : " JASMINE_CONFIG_PATH=spec/support/jasmine.json jasmine" ,
1111 "test:integration" : " JASMINE_CONFIG_PATH=spec/support/jasmine_integration.json jasmine" ,
1212 "test:integration:watch" : " JASMINE_CONFIG_PATH=spec/support/jasmine_integration.json nodemon -L -i spec/integrate ./node_modules/.bin/jasmine" ,
13- "test:cover" : " jasmine --coverage" ,
14- "prepublish" : " npm run test" ,
15- "preversion" : " npm run test"
13+ "test:cover" : " jasmine --coverage"
1614 },
1715 "repository" : {
1816 "type" : " git" ,
You can’t perform that action at this time.
0 commit comments