diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index d86c854..ecbbf03 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -24,6 +24,28 @@ jobs: directory: ./coverage/ verbose: true + ci_integration_envvar: + name: Run Integration Env Var Tests + if: startsWith(github.ref, 'refs/heads') + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v2 + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + node-version: 16 + - name: Install dependencies + run: npm ci + - name: env-vars-passed-through + uses: ./ + env: + NODE_OPTIONS: '--max_old_space_size=3072' + with: + timeout_minutes: 1 + max_attempts: 2 + command: node -e 'console.log(process.env.NODE_OPTIONS)' + ci_integration: name: Run Integration Tests if: startsWith(github.ref, 'refs/heads')