Skip to content

fix: generateSmallA (#46) #31

fix: generateSmallA (#46)

fix: generateSmallA (#46) #31

Workflow file for this run

name: release
on:
push:
branches: [release]
jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
pull-requests: write
steps:
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- uses: pnpm/action-setup@v2
- run: pnpm install
- run: pnpm build
- run: pnpm test
- uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.INTEGRATION_TEST_ROLE_ARN }}
aws-region: ${{ secrets.REGION }}
- run: pnpm integration-test
env:
EMAIL: ${{ secrets.EMAIL }}
PASSWORD: ${{ secrets.PASSWORD }}
NEW_PASSWORD: ${{ secrets.NEW_PASSWORD }}
GIVEN_NAME: ${{ secrets.GIVEN_NAME }}
FAMILY_NAME: ${{ secrets.FAMILY_NAME }}
COGNITO_USER_POOL_ID: ${{ secrets.COGNITO_USER_POOL_ID }}
COGNITO_USER_POOL_WITH_SECRET_CLIENT_ID: ${{ secrets.COGNITO_USER_POOL_WITH_SECRET_CLIENT_ID }}
COGNITO_USER_POOL_CLIENT_SECRET: ${{ secrets.COGNITO_USER_POOL_CLIENT_SECRET }}
COGNITO_USER_POOL_WITHOUT_SECRET_CLIENT_ID: ${{ secrets.COGNITO_USER_POOL_WITHOUT_SECRET_CLIENT_ID }}
REGION: ${{ secrets.REGION }}
- run: pnpm semantic-release
env:
GITHUB_TOKEN: ${{ github.TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}