Skip to content

Commit 57f7106

Browse files
Copilotdgreif
andcommitted
Add test/__screenshots__ to gitignore and configure playwright install in CI
Co-authored-by: dgreif <[email protected]>
1 parent c11c017 commit 57f7106

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

.github/workflows/node.js.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ jobs:
2929
with:
3030
node-version: ${{ matrix.node-version }}
3131
- run: npm ci
32+
- run: npx playwright install chromium
3233
- run: npm run build --if-present
3334
- run: npm test

.github/workflows/publish.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ jobs:
1919
registry-url: https://registry.npmjs.org/
2020
cache: npm
2121
- run: npm ci
22+
- run: npx playwright install chromium
2223
- run: npm test
2324
- run: npm version ${TAG_NAME} --git-tag-version=false
2425
env:

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
node_modules/
22
dist/
3+
test/__screenshots__

vitest.config.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ export default defineConfig({
88
enabled: true,
99
instances: [
1010
{
11-
browser: 'chromium',
12-
launch: {
13-
executablePath: '/usr/bin/chromium'
14-
}
11+
browser: 'chromium'
1512
}
1613
],
1714
provider: 'playwright',

0 commit comments

Comments
 (0)