Skip to content

cli-e2e-tests

cli-e2e-tests #30

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@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- 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