rondo-framework/.drone.yml
Jerko Steiner a5eb3d8bea
Some checks failed
continuous-integration/drone/push Build is failing
Fix jest test in CI
Jest runs out of memory when run in Docker, possibly because of a memory
leak in ts-jest.

The tests will now run after the build, on the built *.js files. As a
consequence, the jest tests will run faster because ts-jest will no
longer be invoked in ci.

Check the package.json test:ci script for more info.

https://github.com/facebook/jest/issues/7874
https://github.com/facebook/jest/issues/9081
2020-01-10 10:30:16 +01:00

20 lines
307 B
YAML

---
kind: pipeline
type: docker
name: default
steps:
- name: build
image: node:12
commands:
- npm install
- npm run lint
- npm run bootstrap
- npm run jest
- npm run esm
---
kind: signature
hmac: ccaae75bbb4cb95e9e82761ffaf6fe1293e5a35b4b7dca077f38837e44e567fa
...