Skip to content

chore: Bump the dependencies group with 2 updates #277

chore: Bump the dependencies group with 2 updates

chore: Bump the dependencies group with 2 updates #277

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- main
push:
branches:
- main
permissions:
id-token: write
contents: read
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run Unit Tests
run: |
npm ci
npm run test
- name: Codecov
uses: codecov/[email protected]
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
uppercase-transformation-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Act
uses: ./
with:
name-transformation: uppercase
parse-json-secrets: true
secret-ids: |
SampleSecret1
/special/chars/secret
0/special/chars/secret
PrefixSecret*
JsonSecret
SAMPLESECRET1_ALIAS, SampleSecret1
- name: Assert
run: npm run integration-test __integration_tests__/name_transformation/uppercase.test.ts
lowercase-transformation-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Act
uses: ./
with:
name-transformation: lowercase
parse-json-secrets: true
secret-ids: |
SampleSecret1
/special/chars/secret
0/special/chars/secret
PrefixSecret*
JsonSecret
samplesecret1_alias, SampleSecret1
- name: Assert
run: npm run integration-test __integration_tests__/name_transformation/lowercase.test.ts
none-transformation-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Act
uses: ./
with:
name-transformation: none
parse-json-secrets: true
secret-ids: |
SampleSecret1
/special/chars/secret
0/special/chars/secret
PrefixSecret*
JsonSecret
SampleSecret1_Alias, SampleSecret1
- name: Assert
run: npm run integration-test __integration_tests__/name_transformation/none.test.ts
default-name-transformation-param-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Act
uses: ./
with:
parse-json-secrets: true
secret-ids: |
SampleSecret1
/special/chars/secret
0/special/chars/secret
PrefixSecret*
JsonSecret
SAMPLESECRET1_ALIAS, SampleSecret1
- name: Assert
run: npm run integration-test __integration_tests__/name_transformation/uppercase.test.ts
default-parse-json-secrets-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
- name: Act
uses: ./
with:
secret-ids: JsonSecret
- name: Assert Default Is No Json Secrets
run: npm run integration-test __integration_tests__/parse_json_secrets.test.ts
af-south-1-integration-test:
runs-on: ubuntu-latest
needs: unit-tests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build
uses: ./.github/actions/build
with:
aws-region: af-south-1
- name: Act
uses: ./
with:
secret-ids: JsonSecret
- name: Assert
run: npm run integration-test __integration_tests__/parse_json_secrets.test.ts