Skip to content

Commit b6ae548

Browse files
committed
fix(ci): e2e
1 parent 703780e commit b6ae548

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

.github/workflows/e2e.yml

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,9 @@ jobs:
1818
runs-on: ubuntu-latest
1919
environment: Health Check
2020
steps:
21-
- name: Checkout code
21+
# ==================== Base Env Setup ====================
22+
- name: Checkout
2223
uses: actions/checkout@v4
23-
with:
24-
fetch-depth: 1
25-
26-
- name: Setup Node
27-
uses: actions/setup-node@v4
28-
with:
29-
node-version: '20'
30-
cache: pnpm
31-
32-
- name: Setup pnpm
33-
uses: pnpm/action-setup@v4
34-
with:
35-
version: 9
36-
run_install: false
3724

3825
- name: Install rust
3926
uses: actions-rs/toolchain@v1
@@ -47,12 +34,25 @@ jobs:
4734
with:
4835
version: 'latest'
4936

50-
- name: Install dependencies
37+
- name: Setup Node
38+
uses: actions/setup-node@v4
39+
with:
40+
node-version: '22.18.0'
41+
registry-url: 'https://registry.npmjs.org'
42+
43+
- name: Setup PNPM
44+
uses: pnpm/action-setup@v4
45+
with:
46+
version: 9.15.0
47+
48+
- name: Install Dependencies
5149
run: pnpm install --frozen-lockfile
5250

53-
- name: Build project
54-
run: pnpm run build
51+
# ==================== Run Build ====================
52+
- name: Build
53+
run: pnpm build
5554

55+
# ==================== Run Tests ====================
5656
- name: Run health check for naga-dev
5757
run: NETWORK=naga-dev pnpm run test:e2e:ci -- all
5858
timeout-minutes: 10
@@ -61,6 +61,6 @@ jobs:
6161
# run: NETWORK=naga-test pnpm run test:e2e:ci -- all
6262
# timeout-minutes: 10
6363

64-
- name: Run health check for naga-staging
65-
run: NETWORK=naga-staging pnpm run test:e2e:ci -- all
66-
timeout-minutes: 10
64+
# - name: Run health check for naga-staging
65+
# run: NETWORK=naga-staging pnpm run test:e2e:ci -- all
66+
# timeout-minutes: 10

0 commit comments

Comments
 (0)