Add .env to CI

This commit is contained in:
Emmanuel 2022-11-15 15:34:48 +01:00
parent 1f9b12e9d6
commit e6dd3a06e1

View file

@ -29,6 +29,8 @@ build:
before_script:
- npm ci
script:
- rm -f .env
- ln -s example.env .env
- npm run build
test:
@ -36,6 +38,8 @@ test:
before_script:
- npm ci
script:
- rm -f .env
- ln -s example.env .env
- npm run test
download:
@ -73,6 +77,8 @@ download:
- npm ci
script:
- rm -f .env
- ln -s example.env .env
- mkdir -p ../dila-data/
- git clone git@git.en-root.org:tricoteuses/data/dila/${DATASET}.git ../dila-data/${DATASET}
- npx tsx src/scripts/download_dila_dataset.ts ${DATASET} --push