Skip to content

[#286] Fix: Terraform plan can't be applied because of VPC endpoint misconfiguration #580

[#286] Fix: Terraform plan can't be applied because of VPC endpoint misconfiguration

[#286] Fix: Terraform plan can't be applied because of VPC endpoint misconfiguration #580

Workflow file for this run

name: Test
on:
pull_request:
types: [opened, synchronize]
jobs:
test:
name: Run Tests
runs-on: ubuntu-latest
steps:
- name: Checkout the repository
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'npm'
- name: Cache Node npm
id: cache-nodemodules
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-infrastructure-templates-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-infrastructure-templates
- name: Install modules
if: steps.cache-nodemodules.outputs.cache-hit != 'true'
run: npm ci
- name: Run tests
shell: bash
run: npm run test '--ignore-scripts' -- --coverage --ci
- name: Upload test coverage
uses: actions/upload-artifact@v4
with:
name: jest-coverage
path: coverage/coverage-final.json
retention-days: 3