Skip to content

Commit 0f7f5b5

Browse files
Integration WorkFlow with test
1 parent 36f162c commit 0f7f5b5

File tree

1 file changed

+22
-1
lines changed

1 file changed

+22
-1
lines changed

.github/workflows/integration.yml

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,26 @@ jobs:
2626
cache: 'npm'
2727
- run: npm i
2828
- run: npm run build
29-
- run : npm run test
29+
30+
unit-test:
31+
32+
runs-on: ubuntu-latest
33+
34+
strategy:
35+
matrix:
36+
node-version: [18.x, 20.x, 22.x]
37+
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
38+
39+
steps:
40+
- uses: actions/checkout@v4
41+
- name: Use Node.js ${{ matrix.node-version }}
42+
uses: actions/setup-node@v4
43+
with:
44+
node-version: ${{ matrix.node-version }}
45+
cache: 'npm'
46+
- run: npm i
47+
- run: npm run test
48+
49+
50+
3051
# this is new build

0 commit comments

Comments
 (0)