File tree Expand file tree Collapse file tree 11 files changed +857
-2922
lines changed
Expand file tree Collapse file tree 11 files changed +857
-2922
lines changed Original file line number Diff line number Diff line change 88 - default
99 pull_request :
1010 branches :
11- - ' ** '
11+ - " ** "
1212
1313jobs :
1414 test :
1515 runs-on : ubuntu-latest
1616 strategy :
1717 matrix :
18- node-version : [13.x]
18+ node-version :
19+ - 18
1920 steps :
20- - uses : actions/checkout@v1
21- - name : Use Node.js ${{ matrix.node-version }}
22- uses : actions/setup-node@v1
21+ - name : Checkout
22+ uses : actions/checkout@v2
23+ - name : Setup node ${{ matrix.node-version }}
24+ uses : actions/setup-node@v2
2325 with :
2426 node-version : ${{ matrix.node-version }}
25- - name : Restore dependencies
26- uses : actions/cache@v1
27- with :
28- path : node_modules
29- key : ${{ runner.os }}-node-${{ hashFiles('yarn.lock') }}
30- restore-keys : |
31- ${{ runner.os }}-node-
3227 - name : Install dependencies
33- run : yarn install --frozen-lockfile
28+ run : npm install
3429 - name : Build
35- run : yarn build
30+ run : npm run build
3631 - name : Typecheck
3732 uses : ./
3833 - name : Typecheck projectFixtures/sub
3934 uses : ./
4035 with :
4136 project : projectFixtures/sub
42-
Original file line number Diff line number Diff line change @@ -3,32 +3,29 @@ name: Release
33on :
44 release :
55 types : [published, edited]
6+ workflow_dispatch :
67
78jobs :
89 build :
910 runs-on : ubuntu-latest
1011 strategy :
1112 matrix :
12- node-version : [13.x]
13+ node-version :
14+ - 18
1315 steps :
1416 - name : Checkout
1517 uses : actions/checkout@v2
18+ - name : Setup node ${{ matrix.node-version }}
19+ uses : actions/setup-node@v2
1620 with :
17- ref : ${{ github.event.release.tag_name }}
18- - name : Restore dependencies
19- id : cache-modules
20- uses : actions/checkout@v2
21- with :
22- path : node_modules
23- key : ${{ matrix.node-version }}-${{ runner.OS }}-build-${{ hashFiles('package.json') }}
21+ node-version : ${{ matrix.node-version }}
2422 - name : Install dependencies
25- if : steps.cache-modules.outputs.cache-hit != 'true'
2623 run : npm install
2724 - name : Build
2825 run : npm run build
2926 - name : Release
3027 uses : JasonEtco/build-and-tag-action@v1
3128 with :
32- setup : ' '
29+ setup : " "
3330 env :
3431 GITHUB_TOKEN : ${{ github.token }}
Original file line number Diff line number Diff line change 1- name : ' TypeScript Error Reporter'
2- description : ' Report type check result on PR diff view.'
3- author : ' andoshin11 '
1+ name : " TypeScript Error Reporter"
2+ description : " Report type check result on PR diff view."
3+ maintainer : " gozala "
44runs :
5- using : ' node12 '
6- main : ' dist/index.js'
5+ using : " node16 "
6+ main : " dist/index.js"
77branding :
8- icon : ' check-circle'
9- color : ' blue'
8+ icon : " check-circle"
9+ color : " blue"
1010inputs :
1111 project :
12- description : ' Optional project path.'
12+ description : " Optional project path."
1313 required : false
1414 error_fail_threshold :
15- description : ' Optional number of errors threshold at which this step fails.'
15+ description : " Optional number of errors threshold at which this step fails."
1616 required : false
17-
You can’t perform that action at this time.
0 commit comments