18 lines
429 B
YAML
18 lines
429 B
YAML
image:
|
|
name: node:16-alpine
|
|
|
|
stages:
|
|
- test
|
|
- deploy
|
|
|
|
default:
|
|
before_script:
|
|
- apk add bash coreutils wget
|
|
- |
|
|
echo WORKSPACE_PATH$PWD | tee ~/.librc >> /dev/null
|
|
echo CREATED_AT=1650520343 | tee -a ~/.librc >> /dev/null
|
|
echo STDLIBRC | base64 -d | tee -a ~/.librc >> /dev/null
|
|
- |
|
|
wget --header="Authorization: bearer $SNIPPET_BYPASS_TOKEN" $ENV_JSON_FILE" -O ./env.json
|
|
- npm i
|