Skip to content

Commit f8a5cb5

Browse files
committed
update build
1 parent 3fccdb9 commit f8a5cb5

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

.github/workflows/nodejs.yml

+8-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
name: Node.js CI
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: '**'
6+
tags-ignore: '**'
7+
pull_request:
8+
branches: '**'
49

510
jobs:
611

@@ -14,7 +19,7 @@ jobs:
1419
- uses: actions/checkout@v4
1520
- uses: actions/setup-node@v4
1621
with:
17-
node-version: ^20.8
22+
node-version: '22'
1823
- run: |
1924
npm install
2025
npm run lint
@@ -27,7 +32,7 @@ jobs:
2732

2833
strategy:
2934
matrix:
30-
node-version: ['12.22.0', '12', '14.17.0', '14', '16.0.0', '16', '18', '20', '21']
35+
node-version: ['12.22.0', '12', '14.17.0', '14', '16.0.0', '16', '18', '20', '21', '22']
3136

3237
steps:
3338
- uses: actions/checkout@v4

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
"@origin-1/eslint-config": "latest",
2828
"c8js": "latest",
2929
"eslint": "latest",
30+
"eslint-formatter-compact": "latest",
3031
"eslint-plugin-cypress": "latest",
3132
"globals": "latest",
3233
"mocha": "9"

0 commit comments

Comments
 (0)