Skip to content

Merge pull request #352 from formidablejs/patch/github-action-node-tests #1045

Merge pull request #352 from formidablejs/patch/github-action-node-tests

Merge pull request #352 from formidablejs/patch/github-action-node-tests #1045

Workflow file for this run

name: E2E Tests
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install modules
run: npm ci
- name: Build
run: npm run build
- name: Prepare e2e tests
run: npm run pre-test
- name: Run e2e tests
run: npm run test:e2e
- name: Clean up
run: ./scripts/5-clean-up.sh