diff --git a/.github/workflows/publish-latest.yml b/.github/workflows/publish-latest.yml index 4654e35d..52bdd331 100644 --- a/.github/workflows/publish-latest.yml +++ b/.github/workflows/publish-latest.yml @@ -15,6 +15,7 @@ jobs: node-version: 18 registry-url: 'https://registry.npmjs.org' - run: npm ci + - run: npx playwright install - run: npm run test - run: npm run build - run: npm publish --tag latest ./lib --access public diff --git a/.github/workflows/publish-pr.yml b/.github/workflows/publish-pr.yml index cd12fe6c..5c290c92 100644 --- a/.github/workflows/publish-pr.yml +++ b/.github/workflows/publish-pr.yml @@ -19,6 +19,7 @@ jobs: node-version: 18 registry-url: 'https://registry.npmjs.org' - run: npm ci + - run: npx playwright install - run: npm run test - run: npm run build - run: npm publish --tag alpha ./lib