chore: e2e tests

This commit is contained in:
cha0s 2024-02-10 00:52:50 -06:00
parent 870c1a95dc
commit 9d4840a875

22
.github/workflows/e2e.yml vendored Normal file
View File

@ -0,0 +1,22 @@
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 ${{ vars.NPM_CI_FLAGS }} ci
- run: npm run -- test -p e2e