File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2,9 +2,22 @@ name: "PR Checks"
22on : push
33
44jobs :
5- test :
5+ unit :
66 runs-on : ubuntu-latest
7- name : Action Test
7+ name : Unit Tests
8+ steps :
9+ - uses : actions/checkout@v4
10+ - uses : actions/setup-node@v4
11+ with :
12+ node-version : 20
13+ cache : ' npm'
14+ - run : npm install
15+ - run : npm test
16+
17+ e2e :
18+ runs-on : ubuntu-latest
19+ name : E2E Test
20+ needs : unit
821 steps :
922 - uses : actions/checkout@v4
1023 - uses : actions/setup-node@v4
1629 key : ${{ secrets.TB_KEY }}
1730 secret : ${{ secrets.TB_SECRET }}
1831 tunnelIdentifier : github-action-tunnel
19-
20- - name : " Install Dependencies"
21- run : npm install
22-
23- - name : " Run Test"
24- run : npm run test
32+ - run : npm install
33+ - run : npm run test:e2e
2534 env :
2635 TB_KEY : ${{ secrets.TB_KEY }}
2736 TB_SECRET : ${{ secrets.TB_SECRET }}
Original file line number Diff line number Diff line change 22 "name" : " setup-env" ,
33 "version" : " 1.0.0" ,
44 "description" : " Set up the TestingBot Test Environment" ,
5- "main" : " index.js" ,
65 "homepage" : " https://github.com/testingbot/testingbot-tunnel-action#readme" ,
76 "bugs" : {
87 "url" : " https://github.com/testingbot/testingbot-tunnel-action/issues"
You can’t perform that action at this time.
0 commit comments