Skip to content

use custom properties key #4

use custom properties key

use custom properties key #4

Workflow file for this run

name: Test Action
on:
push:
branches: [ main, develop ]
pull_request:
branches: [ main ]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
- name: Run tests
run: npm test
- name: Validate build
run: npm run build
# Integration test (requires secrets - only run on main branch)
integration-test:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Test the action
uses: ./
with:
launchdarkly_api_key: ${{ secrets.LAUNCHDARKLY_API_KEY }}
project_key: ${{ vars.TEST_PROJECT_KEY || 'test-project' }}
days_ahead: '30'
include_past_due: 'true'