Files
atom/script/vsts/pull-requests.yml
DeeDeeG c087fcfb49 CI: Use npm ci rather than npm install
`npm ci` doesn't try to reconcile package.json with package-lock.json,
nor with any existing packages in `node_modules`. `npm ci` simply
deletes `node_modules` and uses the packages from `package-lock.json`.

As a result, `npm ci` is much, much faster than `npm install`.
We should use it wherever possible.
2020-08-21 21:19:49 +03:00

21 lines
565 B
YAML

trigger: none # No CI builds, only PR builds
jobs:
- job: GetReleaseVersion
pool:
vmImage: 'ubuntu-latest'
steps:
# This has to be done separately because VSTS inexplicably
# exits the script block after `npm ci` completes.
- script: |
cd script/vsts
npm ci
displayName: npm ci
- script: node script/vsts/get-release-version.js
name: Version
# Import OS-specific build definitions
- template: platforms/windows.yml
- template: platforms/macos.yml
- template: platforms/linux.yml