File tree Expand file tree Collapse file tree 4 files changed +34
-86
lines changed
Expand file tree Collapse file tree 4 files changed +34
-86
lines changed Original file line number Diff line number Diff line change 1- name : " CodeQL"
1+ name : CodeQL
22
33on :
44 push :
5- branches : [ main ]
65 pull_request :
7- branches : [ main ]
86 schedule :
97 - cron : ' 24 14 * * 6'
108
@@ -21,16 +19,16 @@ jobs:
2119 fail-fast : false
2220 matrix :
2321 language : [ 'javascript' ]
24-
22+
2523 steps :
2624 - name : Checkout code
2725 uses : actions/checkout@v2
2826
2927 - name : Initialize CodeQL
3028 uses : github/codeql-action/init@v1
3129 with :
32- languages : ${{ matrix.language }}
33-
30+ languages : ${{matrix.language}}
31+
3432 - name : Autobuild
3533 uses : github/codeql-action/autobuild@v1
3634
Original file line number Diff line number Diff line change 1+ name : Deploy
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+ pull_request :
8+ branches :
9+ - main
10+ tags :
11+ - v*
12+
13+ jobs :
14+ deploy :
15+ needs : build
16+ runs-on : ubuntu-latest
17+ steps :
18+ - uses : actions/checkout@v2
19+
20+ - name : Heroku deploy
21+ uses :
akhileshns/[email protected] 22+ with :
23+ 24+ heroku_api_key : ${{secrets.HEROKU_API_KEY}}
25+ heroku_app_name : ${{secrets.APP_NAME}}
26+ branch : ' main'
Original file line number Diff line number Diff line change 1- name : Main Workflow
1+ name : Main
22
3- on :
4- push :
5- branches :
6- - main
7- - feat/*
8- pull_request :
9- branches :
10- - main
11- - feat/*
3+ on : [push, pull_request]
124
135jobs :
146 build :
3628 id : yarn-cache
3729 with :
3830 path : ~/.cache/yarn/v6
39- key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
31+ key : ${{runner.os}}-yarn-${{hashFiles('**/yarn.lock')}}
4032 restore-keys : |
41- ${{ runner.os }}-yarn-
33+ ${{runner.os}}-yarn-
4234
4335 - name : Install dependencies
4436 run : yarn install --prefer-offline --frozen-lockfile --cache-folder ~/.cache/yarn/v6
6153 uses : coverallsapp/github-action@master
6254 with :
6355 github-token : ${{secrets.GITHUB_TOKEN}}
64-
65- deploy :
66- needs : build
67- runs-on : ubuntu-latest
68- steps :
69- - uses : actions/checkout@v2
70-
71- - name : Heroku deploy
72- uses :
akhileshns/[email protected] 73- with :
74- 75- heroku_api_key : ${{secrets.HEROKU_API_KEY}}
76- heroku_app_name : ${{secrets.APP_NAME}}
77- branch : ' main'
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments