File tree Expand file tree Collapse file tree 1 file changed +11
-31
lines changed
Expand file tree Collapse file tree 1 file changed +11
-31
lines changed Original file line number Diff line number Diff line change 11name : Pr Checker
22
3- on :
4- pull_request :
5- branches :
6- - master
3+ on : [pull_request, pull_request_target]
74
85jobs :
9- check-types :
6+ pr-checker :
107 runs-on : ubuntu-latest
118
129 steps :
13- - uses : actions/checkout@v2
10+ - uses : actions/checkout@v3
1411
15- - name : Read .nvmrc
16- id : node_version
17- run : echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
18-
19- - name : Setup node
20- uses : actions/setup-node@v1
12+ - uses : actions/setup-node@v3
2113 with :
22- node-version : ${{ steps.node_version.outputs.NODE_VERSION }}
14+ node-version-file : ' .nvmrc '
2315
2416 - run : yarn install --frozen-lockfile
2517
2618 - run : yarn ts-check
27-
28- lint :
29- runs-on : ubuntu-latest
30-
31- steps :
32- - uses : actions/checkout@v2
33-
34- - name : Read .nvmrc
35- id : node_version
36- run : echo ::set-output name=NODE_VERSION::$(cat .nvmrc)
37-
38- - name : Setup node
39- uses : actions/setup-node@v1
40- with :
41- node-version : ${{ steps.node_version.outputs.NODE_VERSION }}
42-
43- - run : yarn install --frozen-lockfile
44-
4519 - run : yarn lint
20+ - run : yarn build
21+ env :
22+ PRIVATE_KEY : ${{secrets.PRIVATE_KEY}}
23+ PRIVATE_KEY_ID : ${{secrets.PRIVATE_KEY_ID}}
24+ PROJECT_ID : ${{secrets.PROJECT_ID}}
25+ CLIENT_EMAIL : ${{secrets.CLIENT_EMAIL}}
You can’t perform that action at this time.
0 commit comments