build(deps-dev): bump the npm-dependencies group across 1 directory with 4 updates #496
Workflow file for this run
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: Acceptance Tests | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
acceptance-tests: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./test/CallMyTrade.Api.AcceptanceTests | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: '0' | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
cache: 'npm' | |
cache-dependency-path: ./test/CallMyTrade.Api.AcceptanceTests/package.json | |
- name: Install dependencies | |
run: npm ci | |
- name: Build and run Docker Compose | |
run: | | |
docker compose up -d --build | |
- name: Run acceptance tests | |
run: npm run test | |
- name: Shutdown Docker Compose | |
if: always() | |
run: docker compose down |