We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94dd5be commit ac55f4eCopy full SHA for ac55f4e
1 file changed
.github/workflows/npm-publish.yml
@@ -16,18 +16,13 @@ jobs:
16
- uses: actions/setup-node@v4
17
with:
18
node-version: 24
19
+ cache: 'npm'
20
- - name: Install dependencies
21
- run: npm ci
22
-
23
- - name: Install Playwright
24
- uses: microsoft/playwright-github-action@v1
25
+ - run: npm ci
26
- name: Install Playwright Browsers
27
- run: npx playwright install --with-deps
28
29
- - name: Run tests
30
- run: npm test
+ run: npx playwright install --with-deps chromium
+ - run: npm run build --if-present
+ - run: npm test
31
32
publish-npm:
33
needs: build
0 commit comments