diff --git a/.github/workflows/preload-varnish-cache.yml b/.github/workflows/preload-varnish-cache.yml index ebbb4f016..65e7c65a6 100644 --- a/.github/workflows/preload-varnish-cache.yml +++ b/.github/workflows/preload-varnish-cache.yml @@ -18,4 +18,4 @@ jobs: - name: Install Playwright Browsers run: npx playwright install --with-deps chromium - name: Run Playwright test to preload Varnish cache - run: yarn e2e -- e2e/varnish-cache-preload.spec.ts + run: ./node_modules/.bin/ts-node e2e/varnish-cache-preload.ts diff --git a/package.json b/package.json index c6f1fdd05..25ab45208 100644 --- a/package.json +++ b/package.json @@ -51,7 +51,8 @@ "next": "^13.5.2", "react": "^18.2.0", "react-dom": "^18.2.0", - "ts-jest": "^29.1.2" + "ts-jest": "^29.1.2", + "ts-node": "^10.9.2" }, "devDependencies": { "@babel/core": "^7.12.9", diff --git a/yarn.lock b/yarn.lock index 7b534c543..d78429c69 100644 --- a/yarn.lock +++ b/yarn.lock @@ -23922,7 +23922,7 @@ ts-log@^2.2.3: resolved "https://registry.npmjs.org/ts-log/-/ts-log-2.2.3.tgz" integrity sha512-XvB+OdKSJ708Dmf9ore4Uf/q62AYDTzFcAdxc8KNML1mmAWywRFVt/dn1KYJH8Agt5UJNujfM3znU5PxgAzA2w== -ts-node@^10.9.1: +ts-node@^10.9.1, ts-node@^10.9.2: version "10.9.2" resolved "https://registry.yarnpkg.com/ts-node/-/ts-node-10.9.2.tgz#70f021c9e185bccdca820e26dc413805c101c71f" integrity sha512-f0FFpIdcHgn8zcPSbf1dRevwt047YMnaiJM3u2w2RewrB+fob/zePZcrOyQoLMMO7aBIddLcQIEK5dYjkLnGrQ==