updating deps #171
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: Functional Tests | |
on: | |
push: | |
branches: | |
- master | |
- features/** | |
- dependabot/** | |
pull_request: | |
branches: | |
- master | |
permissions: | |
contents: read | |
actions: read | |
checks: write | |
pull-requests: read | |
statuses: write | |
deployments: none | |
issues: none | |
packages: none | |
repository-projects: none | |
security-events: none | |
jobs: | |
docker: | |
timeout-minutes: 10 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v1 | |
- name: Install node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '${{ steps.nvm.outputs.NVMRC }}' | |
cache: 'npm' | |
- name: Install dependencies | |
run: npm install | |
- name: Install dependencies | |
run: npm run build | |
- name: Start containers | |
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" up -d | |
- name: Run tests | |
run: npm run test:functional | |
- name: Stop containers | |
if: always() | |
run: docker-compose -f "docker-compose.base.yml" -f "docker-compose.functional.yml" down |