Skip to content

Bump github/codeql-action from 2.3.2 to 3.27.5 #991

Bump github/codeql-action from 2.3.2 to 3.27.5

Bump github/codeql-action from 2.3.2 to 3.27.5 #991

Workflow file for this run

name: Unit Tests
on:
workflow_dispatch:
pull_request:
permissions:
contents: read
concurrency:
group: >-
${{ github.workflow }} @ ${{ github.event.pull_request.head.label ||
github.head_ref || github.ref }}
cancel-in-progress: true
jobs:
test:
if: ${{ github.repository == 'ProgramEquity/amplify' }}
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out repo
uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version-file: .node-version
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test -- server/__tests__/unit/
env:
CICERO_API_KEY: '${{ secrets.TEST_CICERO_API_KEY }}'
LOB_API_KEY: '${{ secrets.TEST_LOB_API_KEY }}'
STRIPE_SECRET_KEY: '${{ secrets.TEST_STRIPE_SECRET_KEY }}'
SERVER_PORT: 8080
CLIENT_ORIGIN_URL: 'http://localhost:8080'
AUTH0_AUDIENCE: your_Auth0_identifier_value
AUTH0_DOMAIN: your_Auth0_domain