Skip to content

Commit 40906ec

Browse files
committed
chore: add test build command
1 parent 9eabc6c commit 40906ec

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/build-and-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
strategy:
1919
matrix:
20-
node-version: [14.x, 16.x, 18.x, 20.x]
20+
node-version: [16.x, 18.x, 20.x]
2121
steps:
2222
- uses: actions/checkout@v4
2323
- name: Use Node.js ${{ matrix.node-version }}
@@ -27,9 +27,9 @@ jobs:
2727
cache: 'npm'
2828
- name: Install Dependencies
2929
run: npm ci
30-
- name: Run linter
30+
- name: Run Linter
3131
run: npm run lint
32-
- name: Run prettier
32+
- name: Run Prettier
3333
run: npm run format
3434
- name: Build
3535
run: npm run build
@@ -40,7 +40,7 @@ jobs:
4040
runs-on: ubuntu-latest
4141
strategy:
4242
matrix:
43-
node-version: [14.x, 16.x, 18.x, 20.x]
43+
node-version: [16.x, 18.x, 20.x]
4444
steps:
4545
- uses: actions/checkout@v4
4646
- name: Use Node.js ${{ matrix.node-version }}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
"lint": "eslint \"**/*.{js,ts,tsx,json}\" --max-warnings=0",
1111
"lint:fix": "npm run lint -- --fix",
1212
"lint:fix-staged": "lint-staged",
13-
"build": "tsc -p ./tsconfig.build.json"
13+
"build": "tsc -p ./tsconfig.build.json",
14+
"test:build": "tsc -p ./tsconfig.test.json"
1415
},
1516
"author": "",
1617
"license": "ISC",

0 commit comments

Comments
 (0)