diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000000000000000000000000000000000000..aa5fce15a69b7dc3978317a3c0a5f8aa6d0c6cff --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,7 @@ + +upstream_tests: + image: registry.gitlab.com/gitlab-ci-utils/docker-puppeteer:latest + before_script: + - npm install + script: + - npm run test:ci diff --git a/package.json b/package.json index 01e0104c8f35f185197f00ec298b623dd7bcdfd2..3026c93d2761e742d713aa4c0481f934ebab46a3 100644 --- a/package.json +++ b/package.json @@ -15,6 +15,7 @@ "lint:translations": "node ./scripts/i18n-lint.js", "server": "node_modules/.bin/http-server --cors", "test": "npm run build && npm run lint && npm run size && jest -c jest.json", + "test:ci": "jest -c jest.json --ci --reporters=default --watchAll=false --runInBand", "test:debug": "node --inspect node_modules/.bin/jest -c jest.json --runInBand", "test:watch": "jest -c jest.json --watch", "build": "NODE_ENV=production webpack --mode=production",