2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-11 18:02:32 +03:00

chore(ci): use package-lock in test & build github actions; (#5663)

* chore(test): use local typescript version for dtslint;
This commit is contained in:
Dmitriy Mozgovoy
2023-04-19 20:09:31 +03:00
committed by GitHub
parent 6f360a2531
commit 0abc705647
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -26,5 +26,5 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm install
- run: npm ci
- run: npm test
+1 -1
View File
@@ -31,7 +31,7 @@ jobs:
with:
node-version: 16
cache: npm
- run: npm install
- run: npm ci
- name: Prepare release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+2 -2
View File
@@ -25,7 +25,7 @@
"scripts": {
"test": "npm run test:eslint && npm run test:mocha && npm run test:karma && npm run test:dtslint && npm run test:exports",
"test:eslint": "node bin/ssl_hotfix.js eslint lib/**/*.js",
"test:dtslint": "node bin/ssl_hotfix.js dtslint",
"test:dtslint": "dtslint --localTs node_modules/typescript/lib",
"test:mocha": "node bin/ssl_hotfix.js mocha test/unit/**/*.js --timeout 30000 --exit",
"test:exports": "node bin/ssl_hotfix.js mocha test/module/test.js --timeout 30000 --exit",
"test:karma": "node bin/ssl_hotfix.js cross-env LISTEN_ADDR=:: karma start karma.conf.cjs --single-run",
@@ -203,4 +203,4 @@
"@commitlint/config-conventional"
]
}
}
}