Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ jobs:
run: npm ci
- name: npm build
run: npm run build --if-present
- run: npx playwright install chromium
- name: npm test
run: npm test
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
registry-url: https://registry.npmjs.org/
cache: npm
- run: npm ci
- run: npx playwright install chromium
- run: npm test
- run: npm version ${TAG_NAME} --git-tag-version=false
env:
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jobs:
uses: actions/checkout@v4
- name: Preparation
uses: ./.github/actions/setup
- run: npx playwright install chromium
- name: Perform last-minute tests
run: npm test
- name: Configure Git
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
dist
node_modules
test/__screenshots__
6 changes: 2 additions & 4 deletions vitest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,10 @@ export default defineConfig({
browser: {
enabled: true,
provider: 'playwright',
headless: true,
instances: [
{
browser: 'chromium',
launch: {
executablePath: '/usr/bin/chromium-browser'
}
browser: 'chromium'
}
]
}
Expand Down