File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11name : Create new release
2- on : [workflow_dispatch]
2+ on :
3+ push :
4+ branches :
5+ - main
36
47jobs :
5- rebase-staging-into-main :
8+ install-deps :
69 runs-on : ubuntu-latest
710 steps :
11+ - uses : actions/checkout@v3
12+ - name : Cache node modules
13+ id : cache
14+ uses : actions/cache@v2
15+ with :
16+ path : node_modules
17+ key : cache-node-${{ hashFiles('yarn.lock') }}
18+ - name : Setup Node
19+ uses : actions/setup-node@v1
20+ if : steps.cache.outputs.cache-hit != 'true'
21+ with :
22+ node-version : 16
23+ - name : yarn install
24+ run : yarn
25+
26+ semantic-release :
27+ runs-on : ubuntu-latest
28+ needs : [install-deps]
29+ steps :
30+ - uses : actions/checkout@v3
31+ name : Checkout main
32+ with :
33+ fetch-depth : 0
34+ - name : Cache node modules
35+ id : cache
36+ uses : actions/cache@v2
37+ with :
38+ path : node_modules
39+ key : cache-node-${{ hashFiles('yarn.lock') }}
840 - name : Launch Semantic release
941 env :
1042 GH_TOKEN : ${{ secrets.GH_TOKEN }}
Original file line number Diff line number Diff line change 127127 "typescript" : " 4.8.4" ,
128128 "url-loader" : " ^4.1.1"
129129 },
130+ "repository" : {
131+ "type" : " git" ,
132+ "url" : " https://github.com/Qovery/console.git"
133+ },
130134 "release" : {
131135 "branches" : [
132136 " main"
You can’t perform that action at this time.
0 commit comments