mirror of
https://github.com/aws-actions/configure-aws-credentials.git
synced 2026-06-09 06:17:07 +00:00
chore: create tests-integ.yml
This commit is contained in:
parent
c50a0a9b27
commit
a2e38048be
1 changed files with 33 additions and 0 deletions
33
.github/workflows/tests-integ.yml
vendored
Normal file
33
.github/workflows/tests-integ.yml
vendored
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
name: Run integration tests
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
package_and_test:
|
||||
name: Package dist files
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
id-token: write
|
||||
contents: read
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v5
|
||||
with:
|
||||
fetch-depth: 0
|
||||
ref: ${{ github.ref_name }}
|
||||
persist-credentials: false
|
||||
- name: Package
|
||||
run: |
|
||||
npm ci
|
||||
npm run package
|
||||
- name: Integation tests
|
||||
uses: ./
|
||||
with:
|
||||
aws-region: us-west-2
|
||||
role-to-assume: arn:aws:iam::206735643321:role/CAWSC-integ-role
|
||||
role-session-name: IntegTestCAWSC
|
||||
- name: Get caller identity
|
||||
run: |
|
||||
aws sts get-caller-identity
|
||||
Loading…
Add table
Add a link
Reference in a new issue