Skip to content

refine static ak and static sts with internal credentials provider #3

refine static ak and static sts with internal credentials provider

refine static ak and static sts with internal credentials provider #3

Workflow file for this run

name: NodeJS
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: npm install
- name: Unit Test
run: npm run ci
- name: Upload Coverage Report
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
- name: Integration Test
run: test -z $SUB_ACCESS_KEY_ID -a -z $SUB_ACCESS_KEY_SECRET || npm run test-integration
env:
ROLE_ARN: ${{ secrets.ROLE_ARN }}
SUB_ACCESS_KEY_ID: ${{ secrets.SUB_ACCESS_KEY_ID }}
SUB_ACCESS_KEY_SECRET: ${{ secrets.SUB_ACCESS_KEY_SECRET }}
ROLE_ARN_TO_ASSUME: ${{ secrets.ROLE_ARN_TO_ASSUME }}