From 9d4840a875710697a7d557872d568bcf70c65491 Mon Sep 17 00:00:00 2001 From: cha0s Date: Sat, 10 Feb 2024 00:52:50 -0600 Subject: [PATCH] chore: e2e tests --- .github/workflows/e2e.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/e2e.yml diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml new file mode 100644 index 0000000..4db5c67 --- /dev/null +++ b/.github/workflows/e2e.yml @@ -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