feat: resultProcessor #266
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
push: | |
branches: | |
- 'master' | |
pull_request: | |
branches: | |
- '**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js 20.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.x' | |
cache: 'npm' # Enables caching for faster npm installs | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run test-server & | |
# Starts test-server in the background | |
- name: Wait for test-server | |
run: npx wait-on http://localhost:3000 | |
# Ensure the test-server is running and accessible | |
- run: npm run acceptance_test | |
# Run the acceptance tests after the server is available |