Avoid need for build directory

This commit is contained in:
Dave Bartolomeo
2020-05-19 17:03:56 -04:00
parent 8cb5661330
commit 18bb4b0231

View File

@@ -18,11 +18,14 @@ jobs:
with:
node-version: '10.18.1'
- name: Install dependencies
run: |
node common/scripts/install-run-rush.js install
shell: bash
- name: Build
run: |
cd build
npm install
npm run build-ci
node common/scripts/install-run-rush.js build
shell: bash
- name: Prepare artifacts
@@ -55,11 +58,14 @@ jobs:
node-version: '10.18.1'
# We have to build the dependencies in `lib` before running any tests.
- name: Install dependencies
run: |
node common/scripts/install-run-rush.js install
shell: bash
- name: Build
run: |
cd build
npm install
npm run build-ci
node common/scripts/install-run-rush.js build
shell: bash
- name: Lint