feat: Fixes #15 - Validate hostnames and adds capability for unit tes… #31
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: CI | |
on: | |
- push | |
- pull_request | |
jobs: | |
test: | |
name: Test with nginx ${{ matrix.nginx-version }} | |
strategy: | |
matrix: | |
nginx-version: | |
- 1.25.x | |
env: | |
NGINX_VERSION: ${{ matrix.nginx-version }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: sudo apt-get install -y ca-certificates | |
- uses: actions/setup-node@v3 | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run build | |
- run: npm run test:unit | |
- run: make docker-integration-tests |