-
Notifications
You must be signed in to change notification settings - Fork 9
38 lines (32 loc) · 1010 Bytes
/
cli-e2e-tests.yml
File metadata and controls
38 lines (32 loc) · 1010 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
name: cli-e2e-tests
on:
schedule:
# Every night at 3:00 CET (= 2:00 UTC in winter, 1:00 UTC in summer).
# Using 1:00 UTC to cover CEST (summer time).
- cron: '0 1 * * *'
workflow_dispatch: # allow manual trigger
jobs:
e2e:
runs-on: ubuntu-latest
timeout-minutes: 20
permissions:
contents: read
steps:
- name: Checkout code
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Set Node.js 22.x
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: 22.22.1
registry-url: 'https://registry.npmjs.org'
cache: 'npm'
cache-dependency-path: 'cli/package-lock.json'
- name: Install CLI dependencies
working-directory: cli
run: npm ci
- name: Build CLI
working-directory: cli
run: npm run build
- name: Run E2E tests
working-directory: cli
run: npm run test:e2e