Skip to content

cli-e2e-tests

cli-e2e-tests #4

Workflow file for this run

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@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.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