diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 80c984c8c..d90edcb52 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -32,6 +32,8 @@ jobs: run: npm run build - name: Lint run: npm run prettier && npm run lint + - name: Install Playwright + run: npx playwright install --with-deps - name: Run CSR tests # FAIL_FAST to fail on first failing test. run: FAIL_FAST="true" CSR_ONLY="true" npm run test @@ -52,6 +54,8 @@ jobs: cache: 'npm' - name: Install dependencies run: npm ci + - name: Install Playwright + run: npx playwright install --with-deps - name: Build run: npm run build - name: Run CSR tests diff --git a/package.json b/package.json index c81e4015f..073a2fbb6 100644 --- a/package.json +++ b/package.json @@ -47,7 +47,6 @@ "start:alpha": "node scripts/build.js --alpha --develop", "publish-alpha-cdn": "./publish-alpha-cdn.sh", "create": "plop --plopfile scripts/plop/plopfile.js", - "prepare": "playwright install --with-deps", "test": "web-test-runner --group default", "test:component": "web-test-runner -- --watch --group", "test:watch": "web-test-runner --watch --group default",