Skip to content

Commit ff3d6c3

Browse files
committed
Install chromium in CI
1 parent 1d5afee commit ff3d6c3

3 files changed

Lines changed: 3 additions & 4 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
run: |
1818
npm install
1919
npm run build
20+
npx playwright install chromium
2021
npm test
2122
env:
2223
CI: true

.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:

vitest.config.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,7 @@ export default defineConfig({
99
headless: true,
1010
instances: [
1111
{
12-
browser: 'chromium',
13-
launch: {
14-
executablePath: '/usr/bin/chromium'
15-
}
12+
browser: 'chromium'
1613
}
1714
]
1815
}

0 commit comments

Comments
 (0)