25 lines
566 B
YAML
25 lines
566 B
YAML
name: End-to-end tests
|
|
|
|
on:
|
|
schedule:
|
|
- cron: '20 4 * * *'
|
|
workflow_dispatch: {}
|
|
|
|
jobs:
|
|
e2e:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
node-version: [18.x, 20.x]
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Use Node.js ${{ matrix.node-version }}
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: 'npm'
|
|
- run: npm config set registry ${{ vars.NPM_CI_REGISTRY }}
|
|
if: ${{ vars.NPM_CI_REGISTRY }}
|
|
- run: npm ci
|
|
- run: npm run -- test -t 120000 -p e2e
|