Improve local development script

- Avoid running `npm install` on every execution
- Add a separate `install` task that runs `npm clean-install`
This commit is contained in:
daz
2024-11-14 17:00:58 -07:00
parent f4845d289c
commit 0e27ea7e6c
2 changed files with 12 additions and 10 deletions

View File

@@ -3,8 +3,9 @@
The `build` script in the project root provides a convenient way to perform many local build tasks:
1. `./build` will lint and compile typescript sources
2. `./build all` will lint and compile typescript and run unit tests
3. `./build init-scripts` will run the init-script integration tests
4. `./build act <act-commands>` will run `act` after building local changes (see below)
3. `./build install` will install npm packages followed by lint and compile
4. `./build init-scripts` will run the init-script integration tests
5. `./build act <act-commands>` will run `act` after building local changes (see below)
## Using `act` to run integ-test workflows locally