Skip to content

Commit ba6134e

Browse files
committed
added e2e to yml
1 parent 012bdb8 commit ba6134e

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.github/workflows/ci-cd.yml

+18
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,21 @@ jobs:
2929
- run: npm run build --if-present
3030
- run: npm test
3131

32+
e2e:
33+
runs-on: ubuntu-latest
34+
35+
strategy:
36+
matrix:
37+
node-version: [22.x, 20.x, 18.x, 16.x]
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 ci
47+
- run: npm run build --if-present
48+
- run: npm run test:e2e
49+

0 commit comments

Comments
 (0)