File tree Expand file tree Collapse file tree 5 files changed +23
-52
lines changed Expand file tree Collapse file tree 5 files changed +23
-52
lines changed Original file line number Diff line number Diff line change @@ -14,17 +14,11 @@ jobs:
14
14
outputs :
15
15
storybookUrl : ${{ steps.chromatic.outputs.storybookUrl }}
16
16
steps :
17
- - name : Configure AWS Credentials
18
- uses : aws -actions/configure-aws-credentials@v4
17
+ - name : Get Token
18
+ uses :
launchdarkly/gh -actions/actions/[email protected]
19
19
with :
20
- audience : https://github.com/launchdarkly
21
- role-to-assume : ${{ vars.AWS_ROLE_ARN }}
22
- aws-region : us-east-1
23
-
24
- - uses : dkershner6/aws-ssm-getparameters-action@v2
25
- with :
26
- parameterPairs : ' /production/common/launchpad-ui/chromatic-token = CHROMATIC_TOKEN'
27
- withDecryption : ' true'
20
+ aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
21
+ ssm_parameter_pairs : ' /production/common/launchpad-ui/chromatic-token = CHROMATIC_TOKEN'
28
22
29
23
- uses : actions/checkout@v4
30
24
with :
Original file line number Diff line number Diff line change @@ -19,18 +19,11 @@ jobs:
19
19
id-token : write
20
20
contents : read
21
21
steps :
22
- - name : Configure AWS Credentials
23
- uses : aws -actions/configure-aws-credentials@v4
22
+ - name : Get Token
23
+ uses :
launchdarkly/gh -actions/actions/[email protected]
24
24
with :
25
- audience : https://github.com/launchdarkly
26
- role-to-assume : ${{ vars.AWS_ROLE_ARN }}
27
- aws-region : us-east-1
28
-
29
- - uses : dkershner6/aws-ssm-getparameters-action@v2
30
- with :
31
- parameterPairs : |
32
- /production/common/launchpad-ui/figma-access-token = FIGMA_ACCESS_TOKEN
33
- withDecryption : ' true'
25
+ aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
26
+ ssm_parameter_pairs : ' /production/common/launchpad-ui/figma-access-token = FIGMA_ACCESS_TOKEN'
34
27
35
28
- uses : actions/checkout@v4
36
29
with :
Original file line number Diff line number Diff line change @@ -17,17 +17,11 @@ jobs:
17
17
id-token : write
18
18
contents : read
19
19
steps :
20
- - name : Configure AWS Credentials
21
- uses : aws -actions/configure-aws-credentials@v4
20
+ - name : Get Token
21
+ uses :
launchdarkly/gh -actions/actions/[email protected]
22
22
with :
23
- audience : https://github.com/launchdarkly
24
- role-to-assume : ${{ vars.AWS_ROLE_ARN }}
25
- aws-region : us-east-1
26
-
27
- - uses : dkershner6/aws-ssm-getparameters-action@v2
28
- with :
29
- parameterPairs : ' /production/common/services/vscode_marketplace/vsce_pat = VSCE_PAT'
30
- withDecryption : ' true'
23
+ aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
24
+ ssm_parameter_pairs : ' /production/common/services/vscode_marketplace/vsce_pat = VSCE_PAT'
31
25
32
26
- uses : actions/checkout@v4
33
27
with :
Original file line number Diff line number Diff line change @@ -16,17 +16,13 @@ jobs:
16
16
id-token : write
17
17
contents : read
18
18
steps :
19
- - name : Configure AWS Credentials
20
- uses : aws -actions/configure-aws-credentials@v4
19
+ - name : Get Tokens
20
+ uses :
launchdarkly/gh -actions/actions/[email protected]
21
21
with :
22
- audience : https://github.com/launchdarkly
23
- role-to-assume : ${{ vars.AWS_ROLE_ARN }}
24
- aws-region : us-east-1
25
-
26
- - uses : dkershner6/aws-ssm-getparameters-action@v2
27
- with :
28
- parameterPairs : ' /production/common/launchpad-ui/gh-pat-token = CUSTOM_GITHUB_TOKEN'
29
- withDecryption : ' true'
22
+ aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
23
+ ssm_parameter_pairs : |
24
+ /production/common/launchpad-ui/gh-pat-token = CUSTOM_GITHUB_TOKEN,
25
+ /production/common/releasing/npm/token = NODE_AUTH_TOKEN
30
26
31
27
- uses : actions/checkout@v4
32
28
with :
57
53
cwd : ${{ github.workspace }}
58
54
env :
59
55
GITHUB_TOKEN : ${{ env.CUSTOM_GITHUB_TOKEN }}
60
- NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
56
+ NPM_TOKEN : ${{ env.NODE_AUTH_TOKEN }}
61
57
NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change @@ -18,19 +18,13 @@ jobs:
18
18
id-token : write
19
19
contents : read
20
20
steps :
21
- - name : Configure AWS Credentials
22
- uses : aws -actions/configure-aws-credentials@v4
21
+ - name : Get Tokens
22
+ uses :
launchdarkly/gh -actions/actions/[email protected]
23
23
with :
24
- audience : https://github.com/launchdarkly
25
- role-to-assume : ${{ vars.AWS_ROLE_ARN }}
26
- aws-region : us-east-1
27
-
28
- - uses : dkershner6/aws-ssm-getparameters-action@v2
29
- with :
30
- parameterPairs : |
24
+ aws_assume_role : ${{ vars.AWS_ROLE_ARN }}
25
+ ssm_parameter_pairs : |
31
26
/production/common/launchpad-ui/figma-file-key = FIGMA_FILE_KEY,
32
27
/production/common/launchpad-ui/figma-token = FIGMA_TOKEN
33
- withDecryption : ' true'
34
28
35
29
- uses : actions/checkout@v4
36
30
with :
You can’t perform that action at this time.
0 commit comments