mirror of
https://github.com/garronej/ts-ci.git
synced 2025-11-30 21:43:05 +00:00
use npm ci in place of npm install
This commit is contained in:
parent
3b2984d446
commit
b497e3697a
4 changed files with 4084 additions and 3 deletions
2
.github/workflows/ci.yaml
vendored
2
.github/workflows/ci.yaml
vendored
|
|
@ -22,7 +22,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node }}
|
node-version: ${{ matrix.node }}
|
||||||
- run: npm install
|
- run: npm ci
|
||||||
- run: npm run build
|
- run: npm run build
|
||||||
- run: npm run test
|
- run: npm run test
|
||||||
|
|
||||||
|
|
|
||||||
2
.github/workflows/publish.yaml
vendored
2
.github/workflows/publish.yaml
vendored
|
|
@ -49,7 +49,7 @@ jobs:
|
||||||
git checkout latest
|
git checkout latest
|
||||||
git push origin latest
|
git push origin latest
|
||||||
- uses: actions/setup-node@v1
|
- uses: actions/setup-node@v1
|
||||||
- run: npm install
|
- run: npm ci
|
||||||
|
|
||||||
- run: npm run enable_short_import_path
|
- run: npm run enable_short_import_path
|
||||||
env:
|
env:
|
||||||
|
|
|
||||||
|
|
@ -41,7 +41,7 @@ jobs:
|
||||||
- name: Replace tokens in README.MD and package.json
|
- name: Replace tokens in README.MD and package.json
|
||||||
uses: cschleiden/replace-tokens@v1
|
uses: cschleiden/replace-tokens@v1
|
||||||
with:
|
with:
|
||||||
files: '["README.md","package.json","LICENSE"]'
|
files: '["README.md","package.json","LICENSE","package-lock.json"]'
|
||||||
env:
|
env:
|
||||||
REPO_NAME: ${{ github.event.repository.name }}
|
REPO_NAME: ${{ github.event.repository.name }}
|
||||||
USER_OR_ORG: ${{ github.repository_owner }}
|
USER_OR_ORG: ${{ github.repository_owner }}
|
||||||
|
|
|
||||||
4081
package-lock.json
generated
Normal file
4081
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue