chore: e2e add integ_auth_test_cypress_no_ui test #113
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: PR Validation | |
concurrency: | |
group: pr-${{ github.event.workflow_run.head_branch }}-${{ github.event.sender.login }} # This is to make the group name unique for a PR. | |
cancel-in-progress: true | |
on: | |
pull_request: | |
jobs: | |
prebuild: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@24cb9080177205b6e8c946b17badbe402adc938f # v3.4.0 https://github.com/actions/checkout/commit/24cb9080177205b6e8c946b17badbe402adc938f | |
with: | |
# Minimal depth 2 so we can checkout the commit before possible merge commit. | |
fetch-depth: 2 | |
path: amplify-js | |
- name: Setup node and build the repository | |
uses: stocaaro/amplify-js/.github/actions/node-and-build@main | |
with: | |
is-prebuild: true | |
get-package-list: | |
uses: stocaaro/amplify-js/.github/workflows/callable-get-package-list.yml@main | |
codeql: | |
uses: stocaaro/amplify-js/.github/workflows/callable-codeql.yml@main | |
unit-tests: | |
needs: | |
- prebuild | |
- get-package-list | |
strategy: | |
matrix: | |
package: ${{ fromJSON(needs.get-package-list.outputs.packages) }} | |
fail-fast: false | |
uses: stocaaro/amplify-js/.github/workflows/callable-unit-tests.yml@main | |
with: | |
package: ${{ matrix.package }} | |
bundle-size-tests: | |
needs: prebuild | |
uses: stocaaro/amplify-js/.github/workflows/callable-bundle-size-tests.yml@main |