GitHub Action
setup-sst-v3
This GitHub Action will prepare your SST v3 application by installing the providers.
It automatically caches the providers if SST version in lockfile (supports npm
and Bun) and sst.config.ts
files have not changed.
It is assuming that your providers are listed in sst.config.ts
and not
referenced to another file.
-
Optional:
sst-path
- the SST configuration path path.sst.config.ts
should be here. Defaults to./
-
Optional:
lockfile-path
- thepackage-lock.json
orbun.lockb
file location. Defaults to./package-lock.json
-
Optional:
platform-only
- Only caches the SST platform files on '.sst/platform'. Useful for linting runs that will not deploy. Defaults tofalse
-
Optional:
debug
- Prints SST installation logs to the console. Defaults tofalse
-
Sample with defaults:
- name: Setup SST
id: setup-sst
uses: brunocleite/setup-sst-v3@v1
Sample specifying a different SST config and package other than root and platform-only:
- name: Setup SST
id: setup-sst
uses: brunocleite/setup-sst-v3@v1
with:
sst-path: './sst'
lockfile-path: './sst/bun.lockb'
platform-only: true
<sst-folder>/.sst/platform
- everytime and platform-only<home-folder>/.config/sst/plugins
- everytime<home-folder>/.config/sst/bin
- everytime