Merge pull request #11 from GNIEBANCK/reduceLikelyhoodOfEventualConsi… #36
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] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x, 17.x, 18.x, 20.x] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Unit tests | |
run: | | |
npm install | |
npm test | |
env: | |
CI: true | |
- name: Acceptance tests | |
run: docker-compose -f spec/acceptance/docker-compose.yml up --force-recreate --exit-code-from node | |