Commit 0a662e1 1 parent 05511eb commit 0a662e1 Copy full SHA for 0a662e1
File tree 1 file changed +44
-0
lines changed
1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : PR and Merge Workflow
2
+
3
+ on :
4
+ pull_request :
5
+ branches :
6
+ - main
7
+ push :
8
+ branches :
9
+ - main
10
+ - auto-test
11
+
12
+ jobs :
13
+ build :
14
+ runs-on : ubuntu-latest
15
+ steps :
16
+ - uses : actions/checkout@v4
17
+ - name : Use Node.js
18
+ uses : actions/setup-node@v4
19
+ with :
20
+ always-auth : true
21
+ node-version : 18
22
+ registry-url : https://npm.pkg.github.com
23
+ scope : ' @secretkeylabs'
24
+ cache : npm
25
+ - name : Install dependencies
26
+ env :
27
+ NODE_AUTH_TOKEN : ${{ secrets.GH_PACKAGE_REGISTRY_TOKEN }}
28
+ run : npm ci
29
+ - name : Test eslint
30
+ run : |
31
+ npx eslint .
32
+ npx tsc --noEmit
33
+ npm test
34
+ - name : Build
35
+ env :
36
+ TRANSAC_API_KEY : ${{ secrets.TRANSAC_API_KEY }}
37
+ MOON_PAY_API_KEY : ${{ secrets.MOON_PAY_API_KEY }}
38
+ MIX_PANEL_TOKEN : ${{ secrets.MIX_PANEL_TOKEN }}
39
+ run : npm run build
40
+ - name : Test UI
41
+ run : |
42
+ cd autotests
43
+ npm install
44
+ DEBUG=pw:api xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" npm test
You can’t perform that action at this time.
0 commit comments