Remove build directory

This commit is contained in:
Dave Bartolomeo
2020-05-19 17:13:30 -04:00
parent 18bb4b0231
commit 3e7084f65d
5 changed files with 9 additions and 1335 deletions

View File

@@ -19,13 +19,11 @@ jobs:
node-version: '10.18.1'
- name: Install dependencies
run: |
node common/scripts/install-run-rush.js install
run: node common/scripts/install-run-rush.js install
shell: bash
- name: Build
run: |
node common/scripts/install-run-rush.js build
run: node common/scripts/install-run-rush.js build
shell: bash
- name: Prepare artifacts
@@ -59,13 +57,11 @@ jobs:
# We have to build the dependencies in `lib` before running any tests.
- name: Install dependencies
run: |
node common/scripts/install-run-rush.js install
run: node common/scripts/install-run-rush.js install
shell: bash
- name: Build
run: |
node common/scripts/install-run-rush.js build
run: node common/scripts/install-run-rush.js build
shell: bash
- name: Lint

View File

@@ -33,12 +33,12 @@ 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
# Release build instead of dev build.
npm run build-release
run: node common/scripts/install-run-rush.js build --release
shell: bash
- name: Prepare artifacts

View File

@@ -1,12 +0,0 @@
GitHub Actions Build directory
===
The point of this directory is to allow us to do a local installation *of* the rush
tool, since
- installing globally is not permitted on github actions
- installing locally in the root directory of the repo creates `node_modules` there,
and rush itself gives error messages since it thinks `node_modules` is not supposed
to exist, since rush is supposed to be managing subproject dependencies.
Running rush from a subdirectory searches parent directories for `rush.json`
and does the build starting from that file's location.

1293
build/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,17 +0,0 @@
{
"name": "build",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {
"@microsoft/rush": "^5.10.3"
},
"devDependencies": {},
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "rush update && rush build",
"build-ci": "rush install && rush build",
"build-release": "rush install && rush build --release"
},
"author": "GitHub"
}