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:
Daniel LaCosse 2021-09-30 13:07:56 -04:00 committed by GitHub
parent c37dd3751a
commit f342bca31f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 11 additions and 1 deletions

View file

@ -1,6 +1,13 @@
name: Build and Test
on: push
on:
pull_request:
branches:
- master
types:
- opened
- synchronize
jobs:
manager:

View file

@ -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/`:

View file

@ -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/**'"