File tree Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Expand file tree Collapse file tree 2 files changed +26
-21
lines changed Original file line number Diff line number Diff line change 1
- name : " /release "
1
+ name : Release
2
2
on :
3
3
push :
4
4
tags :
Original file line number Diff line number Diff line change 1
- name : " hlint-setup"
1
+ name : CI
2
+
2
3
on :
3
- pull_request :
4
4
push :
5
- branches :
6
- - master
7
- - ' releases/*'
5
+ branches : [main]
6
+ pull_request :
7
+ branches : [main]
8
+ types : [opened, synchronize]
9
+
10
+ permissions : {}
8
11
9
12
jobs :
10
13
unit-tests :
@@ -15,21 +18,23 @@ jobs:
15
18
with :
16
19
node-version : " 16"
17
20
cache : " yarn"
18
- cache-dependency-path : .-setup/yarn.lock
19
- - run : yarn
20
- - run : yarn test
21
-
22
- test :
23
- runs-on : ubuntu-latest
24
- steps :
25
- - uses : actions/checkout@v4
26
- - uses : actions/setup-node@v3
27
- with :
28
- node-version : " 16"
29
- cache : " yarn"
30
- cache-dependency-path : .-setup/yarn.lock
21
+ cache-dependency-path : ./yarn.lock
31
22
- run : yarn
32
23
- run : yarn compile
33
24
- run : yarn package
34
- - uses : ./
35
- - run : hlint --version
25
+ - run : yarn test
26
+
27
+ # test:
28
+ # runs-on: ubuntu-latest
29
+ # steps:
30
+ # - uses: actions/checkout@v4
31
+ # - uses: actions/setup-node@v3
32
+ # with:
33
+ # node-version: "16"
34
+ # cache: "yarn"
35
+ # cache-dependency-path: .-setup/yarn.lock
36
+ # - run: yarn
37
+ # - run: yarn compile
38
+ # - run: yarn package
39
+ # - uses: ./
40
+ # - run: hlint --version
You can’t perform that action at this time.
0 commit comments