mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-08-04 14:37:34 +00:00
add yarn actions, fix ShadowsocksConfig macro, webpack bin (#993)
* add yarn actions, fix ShadowsocksConfig macro, webpack bin reverting unnecessary specificity * tweak action trigger
This commit is contained in:
parent
c37dd3751a
commit
f342bca31f
3 changed files with 11 additions and 1 deletions
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
|
|
@ -1,6 +1,13 @@
|
|||
name: Build and Test
|
||||
|
||||
on: push
|
||||
on:
|
||||
pull_request:
|
||||
branches:
|
||||
- master
|
||||
types:
|
||||
- opened
|
||||
- synchronize
|
||||
|
||||
|
||||
jobs:
|
||||
manager:
|
||||
|
|
|
|||
|
|
@ -65,6 +65,8 @@ It also defines two environmental variables:
|
|||
- ROOT_DIR: the root directory of the project, as an absolute path.
|
||||
- BUILD_DIR: where the build output should go, as an absolute path.
|
||||
|
||||
> ⚠️ To find all the actions in this project, run `yarn actions`
|
||||
|
||||
### Build output
|
||||
|
||||
Building creates the following directories under `build/`:
|
||||
|
|
|
|||
|
|
@ -16,6 +16,7 @@
|
|||
"scripts": {
|
||||
"clean": "rm -rf src/*/node_modules/ build/ node_modules/ src/server_manager/install_scripts/do_install_script.ts src/server_manager/install_scripts/gcp_install_script.ts third_party/shellcheck/download/",
|
||||
"do": "bash ./scripts/do_action.sh",
|
||||
"actions": "find . -name '*_action.sh' | sed -E 's:./src/(.*)_action.sh:\\1:' | grep -v 'scripts/do_action'",
|
||||
"lint": "yarn shellcheck && yarn tslint",
|
||||
"shellcheck": "bash ./scripts/shellcheck.sh",
|
||||
"tslint": "tslint 'src/**/*.ts' -e '**/node_modules/**'"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue