flecks/.github/workflows/e2e.yml
2024-02-10 14:22:30 -06:00

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