File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Unit Tests
2+ on :
3+ workflow_dispatch :
4+ pull_request :
5+ permissions :
6+ contents : read
7+ concurrency :
8+ group : >-
9+ ${{ github.workflow }} @ ${{ github.event.pull_request.head.label ||
10+ github.head_ref || github.ref }}
11+ cancel-in-progress : true
12+ jobs :
13+ test :
14+ if : ${{ github.repository == 'ProgramEquity/amplify' }}
15+ runs-on : ubuntu-latest
16+ timeout-minutes : 5
17+ steps :
18+ - name : Check out repo
19+ uses : actions/checkout@v3
20+ - name : Setup node
21+ uses : actions/setup-node@v3
22+ with :
23+ node-version-file : .node-version
24+ cache : npm
25+ - name : Install dependencies
26+ run : npm ci
27+ - name : Run tests
28+ run : npm test -- server/__tests__/unit/
29+ env :
30+ CICERO_API_KEY : ' ${{ secrets.TEST_CICERO_API_KEY }}'
31+ LOB_API_KEY : ' ${{ secrets.TEST_LOB_API_KEY }}'
32+ STRIPE_SECRET_KEY : ' ${{ secrets.TEST_STRIPE_SECRET_KEY }}'
33+ SERVER_PORT : 8080
34+ CLIENT_ORIGIN_URL : ' http://localhost:8080'
35+ AUTH0_AUDIENCE : your_Auth0_identifier_value
36+ AUTH0_DOMAIN : your_Auth0_domain
You can’t perform that action at this time.
0 commit comments