techlite/node-build
1.0.2
repeating may hit the cache The result depends only on the inputs, so a second run may come from cache without executing again.Instala dependências e executa o build de um pacote Node
task
How to use
oren add techlite/node-buildRoda a instalação e o script de build declarados no `package.json`, deixando os artefatos no próprio workspace para os steps seguintes.
The step the command writes
- id: node-build
task: techlite/node-build@^1.0.2
implementation: techlite/node-build-alpine
dependencies:
source: ...What it requires from your environment
This is the floor: every implementation of this task asks for at least this.
| dependency | type | access | privilege |
|---|---|---|---|
sourceProjeto Node a construir. | directory | read and write | medium |
Inputs
scriptstring- Script do package.json a executar. Vazio pula o build. default:
build installstring- `ci` exige package-lock.json e instala exatamente o que ele trava. `install` resolve as versões, e por isso não é reprodutível. default:
ci
Outputs
What later steps can reference.
namestring- Nome do pacote, lido do package.json.
versionstring- Versão do pacote.
Implementations
ghcr.io/techlitebr/oren-node-build-alpine:1.0.2