File tree Expand file tree Collapse file tree 3 files changed +24
-52
lines changed Expand file tree Collapse file tree 3 files changed +24
-52
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -2,18 +2,34 @@ name: PR Lint Check
2
2
3
3
on :
4
4
pull_request :
5
- branches : [master]
5
+ branches :
6
+ - feat-pr-lint
7
+
8
+ concurrency :
9
+ group : style-${{ github.head_ref || github.run_id }}
10
+ cancel-in-progress : true
6
11
7
12
jobs :
8
13
lint :
9
14
runs-on : ubuntu-latest
10
15
steps :
11
- - uses : actions/checkout@v2
12
- - name : Set up Node.js
13
- uses : actions/setup-node@v2
16
+ - name : Checkout code
17
+ uses : actions/checkout@v4
18
+
19
+ - name : Check changed files
20
+ id : changed-files
21
+ uses : tj-actions/changed-files@v44
22
+
23
+ - name : Setup NodeJS
24
+ uses : actions/setup-node@v4
25
+ if : steps.changed-files.outputs.any_changed == 'true'
14
26
with :
15
- node-version : ' 16'
16
- - name : Install dependencies
27
+ node-version : 20
28
+
29
+ - name : Web dependencies
30
+ if : steps.changed-files.outputs.any_changed == 'true'
17
31
run : npm install
18
- - name : Run lint
32
+
33
+ - name : Web style check
34
+ if : steps.changed-files.outputs.any_changed == 'true'
19
35
run : npm run lint
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ const config = require('./config')
3
3
const themeListeners = [ ]
4
4
global . isDemo = true
5
5
App ( {
6
+ console. log ( 'App Launch' ) ;
6
7
7
8
onLaunch ( opts , data ) {
8
9
const that = this
You can’t perform that action at this time.
0 commit comments