change github owner #81
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, pull_request] | |
jobs: | |
build: # make sure build/ci work properly and there is no faked build ncc built scripts | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: npm ci | |
- run: npm audit --production | |
- run: npm run build | |
- run: git status --porcelain | |
# - run: git diff | |
# - run: git diff --exit-code | |
test: | |
runs-on: ubuntu-latest | |
services: | |
registry: | |
image: registry:2 | |
ports: | |
- 5000:5000 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build images | |
run: | | |
for name in mongo-32; do | |
docker build -t localhost:5000/match-coverage/$name ./tests/fixtures/image-$name-match-coverage | |
docker push localhost:5000/match-coverage/$name:latest | |
done | |
- name: Inspect | |
run: | | |
docker images -a | |
for name in mongo-32; do | |
docker buildx imagetools inspect localhost:5000/match-coverage/$name:latest | |
done | |
- run: npm ci | |
- run: npm audit --production | |
- run: npm test |