-
Notifications
You must be signed in to change notification settings - Fork 2
chore: update deps #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| on: | ||
| push: | ||
| branches-ignore: | ||
| - "master" | ||
|
|
||
| name: Run Tests | ||
|
|
||
| jobs: | ||
| test: | ||
| name: run tests | ||
| strategy: | ||
| matrix: | ||
| node: ["22.x"] | ||
| os: [ubuntu-latest] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
| cache: "npm" | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install | ||
|
|
||
| - name: Install playwright webkit | ||
| run: npx playwright install-deps webkit | ||
|
|
||
| - name: Install browsers | ||
| run: npx playwright install | ||
|
|
||
| - name: Run tests | ||
| run: npm run test | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| on: | ||
| push: | ||
| branches: [master] | ||
|
|
||
| name: Run Tests | ||
|
|
||
| jobs: | ||
| test: | ||
| name: run tests | ||
| strategy: | ||
| matrix: | ||
| node: ["22.x"] | ||
| os: [ubuntu-latest] | ||
|
|
||
| runs-on: ${{ matrix.os }} | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Use Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
| cache: "npm" | ||
|
|
||
| - name: Install dependencies | ||
| run: npm install | ||
|
|
||
| - name: Install playwright webkit | ||
| run: npx playwright install-deps webkit | ||
|
|
||
| - name: Install browsers | ||
| run: npx playwright install | ||
|
|
||
| - name: Run tests | ||
| run: npm run test |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| >=18.x | ||
| >=24.x | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Node.js version mismatch between .nvmrc and CI/package.jsonMedium Severity The Additional Locations (2) |
||


There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated workflow files could be consolidated
Low Severity
The
ci.ymlandmaster.ymlworkflow files are nearly identical (30+ lines duplicated), differing only in their branch trigger conditions. This could be a single workflow file usingon: pushwithout branch restrictions, which would run on all branches including master. The duplication increases maintenance burden and risks inconsistent updates if one file is modified without the other.Additional Locations (1)
.github/workflows/master.yml#L1-L36