File tree Expand file tree Collapse file tree 3 files changed +19
-15
lines changed
Expand file tree Collapse file tree 3 files changed +19
-15
lines changed Original file line number Diff line number Diff line change 1- name : " Build & Test"
1+ name : " Build, Lint & Test"
22
3- on : [push]
4-
5- # on:
6- # # pull_request:
7- # # branches:
8- # # - "master"
9- # push:
10- # branches:
3+ on :
4+ push :
5+ pull_request :
6+ workflow_dispatch :
117
128jobs :
139 build :
1410 name : " Build & Test"
1511 runs-on : ubuntu-latest
1612
1713 steps :
18- - name : " Checkout source code"
19- uses : actions/checkout@v3
14+ - name : ' Checkout source code'
15+ uses : actions/checkout@v4
2016
21- - uses : actions/setup-node@v3
17+ - uses : actions/setup-node@v4
2218 with :
23- node-version : 16
19+ node-version-file : ' .nvmrc'
20+ registry-url : ' https://registry.npmjs.org/'
2421 cache : ' npm'
2522
2623 - name : Install
2724 run : npm ci --ignore-scripts
2825
29- - name : Build
26+ - name : Clean
27+ run : npm run clean
28+
29+ - name : Check Build
3030 run : npm run build
3131
32+ - name : Check Lint
33+ run : npm run lint
34+
3235 - name : Test
3336 run : npm run test
3437 env :
Original file line number Diff line number Diff line change 1616 "build:clean" : " npm run clean && npm run build" ,
1717 "build:watch" : " npm run clean && tsc --watch" ,
1818 "pack" : " webpack --config webpack/webpack.config.js" ,
19+ "lint" : " eslint src" ,
1920 "prepublish" : " npm run build:clean" ,
2021 "betapublish" : " npm publish --tag beta"
2122 },
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ export type SpotKlineInterval =
2020 | '1Dutc'
2121 | '3Dutc'
2222 | '1Wutc'
23- | ' 1Mutc' ;
23+ | " 1Mutc" ;
2424
2525export interface NewWalletTransfer {
2626 fromType : WalletType ;
You can’t perform that action at this time.
0 commit comments