Disabling gzip compression in cloudfront's cache option. This will im… #3
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
# Workflow that runs unit test | |
name: Unit Test | |
on: | |
push: | |
branches: | |
- '*' | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
unittest: | |
name: Unit Test Check | |
if: ${{ (github.repository_owner != 'aws-solutions' && github.event_name == 'push') || (github.repository_owner == 'aws-solutions' && github.event_name == 'pull_request') }} | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: | | |
cd deployment | |
chmod +x ./run-unit-tests.sh && DEBUG=true ./run-unit-tests.sh |