Skip to content

Commit 18bb4b0

Browse files
author
Dave Bartolomeo
committed
Avoid need for build directory
1 parent 8cb5661 commit 18bb4b0

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.github/workflows/main.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,14 @@ jobs:
1818
with:
1919
node-version: '10.18.1'
2020

21+
- name: Install dependencies
22+
run: |
23+
node common/scripts/install-run-rush.js install
24+
shell: bash
25+
2126
- name: Build
2227
run: |
23-
cd build
24-
npm install
25-
npm run build-ci
28+
node common/scripts/install-run-rush.js build
2629
shell: bash
2730

2831
- name: Prepare artifacts
@@ -55,11 +58,14 @@ jobs:
5558
node-version: '10.18.1'
5659

5760
# We have to build the dependencies in `lib` before running any tests.
61+
- name: Install dependencies
62+
run: |
63+
node common/scripts/install-run-rush.js install
64+
shell: bash
65+
5866
- name: Build
5967
run: |
60-
cd build
61-
npm install
62-
npm run build-ci
68+
node common/scripts/install-run-rush.js build
6369
shell: bash
6470

6571
- name: Lint

0 commit comments

Comments
 (0)