diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index ead290b6ec091e5406622af7b6e9a877d86f03be..ebbdcbd767cc0685c6619e05169a89d595a6c591 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -15,7 +15,7 @@ default: tags: - gitlab-org -image: node:12-slim +image: node:14-slim stages: - test diff --git a/tsconfig.json b/tsconfig.json index 939977423bdbde2edc48340d1546624ceb40d9fc..a6bb192fe9c14a6897aca062bb732c0a4a0d53e6 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,10 +1,10 @@ { "compilerOptions": { "module": "commonjs", - "target": "es6", + "target": "es2020", "outDir": "out", // we need to include dom library for msw to work, see https://github.com/mswjs/msw/issues/408 - "lib": ["es6", "dom"], + "lib": ["es2020", "dom"], "allowJs": true, "resolveJsonModule": true, "skipLibCheck": true,