Skip to content

Auto-generate inputs array for compound fields in gf_create_form #8

Auto-generate inputs array for compound fields in gf_create_form

Auto-generate inputs array for compound fields in gf_create_form #8

Workflow file for this run

name: Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Run unit tests
run: |
npm run test:unit || true
npm run test:tools || true
env:
CI: true
- name: Check environment validation
run: npm run check-env || true
env:
GRAVITY_FORMS_CONSUMER_KEY: test_key
GRAVITY_FORMS_CONSUMER_SECRET: test_secret
GRAVITY_FORMS_BASE_URL: https://example.com