diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e6ddf0f..afbf27f 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -41,6 +41,8 @@ jobs: node-version: ${{ matrix.node }} - name: Install node modules run: npm install + - name: Install playwright + run: npm run playwright:install - name: Run ESLint run: npm run eslint - name: Run tests diff --git a/package.json b/package.json index d8d1952..42e38fd 100644 --- a/package.json +++ b/package.json @@ -19,6 +19,7 @@ "test": "npm run test --workspaces --if-present", "workspace:versions": "node ./scripts/workspace_versions.mjs", "workspace:publish": "node ./scripts/workspace_publish.mjs", + "playwright:install": "npx playwright install-deps && npx playwright install", "prettier": "prettier --write ." }, "devDependencies": { @@ -31,6 +32,7 @@ "eslint": "8.50.0", "eslint-plugin-html": "7.1.0", "eslint-plugin-import": "2.28.1", - "prettier": "3.0.3" + "prettier": "3.0.3", + "playwright": "1.38.1" } }