File tree Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Expand file tree Collapse file tree 4 files changed +24
-3
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,26 @@ permissions:
55
66on :
77 workflow_call :
8+ VAULT_URL :
9+ required : true
810
911jobs :
1012 build :
1113 runs-on : ubuntu-latest
1214
1315 steps :
16+ - name : ' Retrieve Secrets from Vault'
17+ id : vault
18+ 19+ with :
20+ url : ${{ secrets.VAULT_URL }}
21+ role : ${{ github.event.repository.name }}-github-action
22+ method : jwt
23+ path : github-actions
24+ exportEnv : false
25+ secrets : |
26+ github/token/${{ github.event.repository.name }}-semantic-release token | GITHUB_TOKEN_FROM_VAULT;
27+
1428 - name : Checkout code
1529 uses : actions/checkout@v5
1630
Original file line number Diff line number Diff line change 99jobs :
1010 build :
1111 uses : ./.github/workflows/build.yaml
12+ secrets :
13+ VAULT_URL : ${{ secrets.VAULT_URL }}
1214
1315 check :
1416 needs : build
Original file line number Diff line number Diff line change 6262 dist
6363 key : build-cache-${{ github.run_id }}-${{ github.run_attempt }}
6464
65+ - name : Setup Chrome
66+ uses : browser-actions/setup-chrome@v2
67+ with :
68+ install-chromedriver : true
69+
6570 - name : Run semantic release
6671 run : npm run semantic-release
6772 env :
68- GITHUB_TOKEN : ${{ secrets .GITHUB_TOKEN }}
73+ GITHUB_TOKEN : ${{ steps.vault.outputs .GITHUB_TOKEN }}
Original file line number Diff line number Diff line change 66 "type" : " module" ,
77 "exports" : {
88 "." : {
9+ "types" : " ./dist/types/index.d.ts" ,
910 "import" : " ./dist/esm/index.js" ,
10- "require" : " ./dist/contentful.cjs" ,
11- "types" : " ./dist/types/index.d.ts"
11+ "require" : " ./dist/contentful.cjs"
1212 }
1313 },
1414 "main" : " ./dist/esm/index.js" ,
You can’t perform that action at this time.
0 commit comments