Merge branch 'master' into v1-node16

This commit is contained in:
Tom Keller
2022-10-25 16:56:51 -07:00
5 changed files with 45097 additions and 39380 deletions
+30 -8
View File
@@ -1,19 +1,40 @@
name: Update dist files on
on: on:
push: push:
branches: branches:
- master - master
- v1-node16
name: Package paths-ignore:
- 'dist/**'
jobs: jobs:
check: package:
name: Package distribution file name: Package dist files
runs-on: ubuntu-latest runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
steps: steps:
- name: Checkout - name: Configure AWS credentials
uses: actions/checkout@v2 uses: aws-actions/configure-aws-credentials@v1-node16
with: with:
ref: master aws-region: us-west-2
role-to-assume: ${{ secrets.SECRETS_AWS_ROLE_TO_ASSUME }}
role-duration-seconds: 900
role-session-name: SecretsManagerFetch
- name: Get bot user token
uses: aws-actions/aws-secretsmanager-get-secrets@v1
with:
parse-json-secrets: true
secret-ids: |
OSDS,arn:aws:secretsmanager:us-west-2:294535624312:secret:github-aws-sdk-osds-automation-ZHNalp
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.ref_name }}
token: ${{ env.OSDS_ACCESS_TOKEN }}
- name: Package - name: Package
run: | run: |
npm ci npm ci
@@ -21,7 +42,8 @@ jobs:
npm run package npm run package
- name: Commit - name: Commit
run: | run: |
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}}"
git config --global user.name "GitHub Actions" git config --global user.name "GitHub Actions"
git add dist/ git add dist/
git commit -m "chore: Update dist" || echo "No changes to commit" git commit -m "chore: Update dist" || echo "No changes to commit"
git push origin HEAD:master git push https://${{ env.OSDS_ACCESS_TOKEN }}@github.com/aws-actions/configure-aws-credentials.git
+1970 -1961
View File
File diff suppressed because it is too large Load Diff
+37661 -36913
View File
File diff suppressed because one or more lines are too long
+5320 -382
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -30,7 +30,7 @@
"axios": "^1.1.3" "axios": "^1.1.3"
}, },
"devDependencies": { "devDependencies": {
"@zeit/ncc": "^0.22.3", "@vercel/ncc": "^0.34.0",
"eslint": "^8.26.0", "eslint": "^8.26.0",
"jest": "^29.2.2" "jest": "^29.2.2"
} }