Skip to content

Commit 13ff328

Browse files
Copilotdgreif
andcommitted
Address PR feedback
- Add test/__screenshots__ to .gitignore - Remove Node version matrix, use only Node 24 - Use wildcard test/*.js in lint script Co-authored-by: dgreif <3026298+dgreif@users.noreply.github.com>
1 parent 6b69f4e commit 13ff328

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

.github/workflows/nodejs.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,12 @@ permissions:
77
jobs:
88
build:
99
runs-on: ubuntu-latest
10-
strategy:
11-
matrix:
12-
node-version: [22, 24]
1310
steps:
1411
- uses: actions/checkout@v4
15-
- name: Use Node.js ${{ matrix.node-version }}
12+
- name: Use Node.js
1613
uses: actions/setup-node@v4
1714
with:
18-
node-version: ${{ matrix.node-version }}
15+
node-version: 24
1916
cache: 'npm'
2017
- run: npm install
2118
- run: npx playwright install chromium

.gitignore

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

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"types:": "dist/index.d.ts",
1212
"scripts": {
1313
"clean": "rm -rf dist",
14-
"lint": "eslint src/*.ts test/test.spec.js",
14+
"lint": "eslint src/*.ts test/*.js",
1515
"prebuild": "npm run clean && npm run lint && mkdir dist",
1616
"build": "tsc",
1717
"test": "vitest run",

0 commit comments

Comments
 (0)