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:
Niklas Mollenhauer
2020-10-06 18:52:07 +02:00
committed by GitHub
parent bd1d8e5ca2
commit a21003dbf8

View File

@@ -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