Skip to content

Commit 6615e82

Browse files
committed
chore: update ci
1 parent 886158c commit 6615e82

File tree

4 files changed

+23
-19
lines changed

4 files changed

+23
-19
lines changed

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
strategy:
1414
matrix:
15-
node: [16.x, 18.x, 20.x]
15+
node: [18.x, 20.x, 22.x]
1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v2
18+
uses: actions/checkout@v4
1919
- name: Use node@${{ matrix.node }}
20-
uses: actions/setup-node@v2
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
2323
cache: "npm"
@@ -26,7 +26,7 @@ jobs:
2626
- name: Lint code
2727
run: npm run lint
2828
- name: Install Playwright
29-
run: npx playwright install-deps chromium
29+
run: npx playwright install --with-deps chromium
3030
- name: Run tests
3131
run: npm run ci:test
3232
- name: Report code coverage

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1313
steps:
1414
- name: Checkout code
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v4
1616
- name: Setup node
17-
uses: actions/setup-node@v2
17+
uses: actions/setup-node@v4
1818
with:
19-
node-version: 16.x
19+
node-version: 20.x
2020
cache: "npm"
2121
- name: Install dependencies
2222
run: npm ci

package-lock.json

Lines changed: 15 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"mocha": "^9.1.3",
4141
"mocha-snap": "^4.0.2",
4242
"nyc": "^15.1.0",
43-
"playwright": "^1.16.1",
43+
"playwright": "^1.51.0",
4444
"prettier": "^2.8.8",
4545
"replace": "^1.2.1",
4646
"semantic-release": "^18.0.0",

0 commit comments

Comments
 (0)