mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
Use npm ci for nightly builds (#40905)
Using [npm ci](https://docs.npmjs.com/cli/ci.html) keeps the builds reproducible. In this PR, we keep the nightly build en par with the [CI build workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/ci.yml#L33) as well as the [releasable package workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/release-branch-artifact.yaml#L24). The used package-lock.json is updated [an hour before this workflow](https://github.com/microsoft/TypeScript/blob/master/.github/workflows/update-package-lock.yaml#L7), there should not be any lockfile conflicts.
This commit is contained in:
committed by
GitHub
parent
bd1d8e5ca2
commit
a21003dbf8
2
.github/workflows/nightly.yaml
vendored
2
.github/workflows/nightly.yaml
vendored
@@ -22,7 +22,7 @@ jobs:
|
||||
- name: Setup and publish nightly
|
||||
run: |
|
||||
npm whoami
|
||||
npm i
|
||||
npm ci
|
||||
gulp configure-nightly
|
||||
gulp LKG
|
||||
gulp runtests-parallel
|
||||
|
||||
Reference in New Issue
Block a user