Skip to content

Commit 043aee6

Browse files
committed
remove prepublish hook
1 parent 01f2fa0 commit 043aee6

File tree

2 files changed

+18
-3
lines changed

2 files changed

+18
-3
lines changed

.github/workflows/ci.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,19 @@ jobs:
1717
- name: Checkout repository
1818
uses: actions/checkout@v3
1919

20+
- name: Check SLS version 1
21+
run: |
22+
npm info serverless version || true
23+
2024
- name: Setup NodeJS
2125
uses: actions/setup-node@v3
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' }}

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,7 @@
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",

0 commit comments

Comments
 (0)