mirror of
https://github.com/atom/atom.git
synced 2026-01-14 17:38:03 -05:00
CI: Drop old workaround, refactor script blocks
This old bug in the CI inexplicably went away at some point. Co-Authored-By: DeeDeeG <DeeDeeG@users.noreply.github.com>
This commit is contained in:
@@ -26,8 +26,6 @@ jobs:
|
||||
steps:
|
||||
- template: platforms/templates/preparation.yml
|
||||
|
||||
#This has to be done separately because VSTS inexplicably
|
||||
#exits the script block after `npm install` completes.
|
||||
- script: |
|
||||
cd script/vsts
|
||||
npm install
|
||||
|
||||
@@ -12,14 +12,8 @@ jobs:
|
||||
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 ${{ parameters.NightlyFlag }}
|
||||
node get-release-version.js ${{ parameters.NightlyFlag }}
|
||||
name: Version
|
||||
env:
|
||||
REPO_OWNER: $(REPO_OWNER)
|
||||
NIGHTLY_RELEASE_REPO: $(NIGHTLY_RELEASE_REPO)
|
||||
|
||||
@@ -31,8 +31,6 @@ jobs:
|
||||
steps:
|
||||
- template: platforms/templates/preparation.yml
|
||||
|
||||
# This has to be done separately because VSTS inexplicably
|
||||
# exits the script block after `npm install` completes.
|
||||
- script: |
|
||||
cd script/vsts
|
||||
npm install
|
||||
|
||||
Reference in New Issue
Block a user