Skip to content

Commit deacdaf

Browse files
committed
ci: Create workflow for internal/e2e-tests
1 parent 6886c31 commit deacdaf

2 files changed

Lines changed: 35 additions & 3 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Internal E2E Tests
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
pull_request:
8+
branches:
9+
- main
10+
11+
permissions:
12+
contents: read
13+
14+
jobs:
15+
test:
16+
name: Internal E2E Tests
17+
runs-on: ubuntu-24.04
18+
19+
steps:
20+
- uses: actions/checkout@v6
21+
22+
- name: Setup Node.js
23+
uses: actions/setup-node@v6
24+
with:
25+
node-version: 22.20.0
26+
27+
- name: Install dependencies
28+
run: npm ci --engine-strict # --engine-strict is used to fail-fast if deps require node versions unsupported by the repo
29+
30+
- name: Run e2e-tests
31+
working-directory: internal/e2e-tests
32+
run: npm run test

internal/e2e-tests/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
"npm": ">= 8"
99
},
1010
"scripts": {
11-
"unit": "node --test 'test/**/*.js'",
12-
"unit-watch": "node --test --watch 'test/**/*.js'"
11+
"test": "node --test 'test/**/*.js'",
12+
"test-watch": "node --test --watch 'test/**/*.js'"
1313
},
1414
"dependencies": {
15-
"adm-zip": "^0.5.17"
15+
"adm-zip": "0.5.17"
1616
}
1717
}

0 commit comments

Comments
 (0)