fix: deployment resolution #4869
Workflow file for this run
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: Test PR | |
on: | |
pull_request: | |
types: ['opened', 'synchronize'] | |
env: | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
AWS_ACCESS_KEY_ID: ${{secrets.AWS_ACCESS_KEY_ID}} | |
AWS_SECRET_ACCESS_KEY: ${{secrets.AWS_SECRET_ACCESS_KEY}} | |
AWS_REGION: ${{secrets.AWS_REGION}} | |
CODACY_PROJECT_TOKEN: ${{secrets.CODACY_PROJECT_TOKEN}} | |
CI: true | |
jobs: | |
test-pr: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install | |
run: yarn | |
- name: Fetch config | |
run: | | |
yarn workspaces foreach --parallel --verbose --since --recursive run conf --name development | |
- name: Test | |
run: | | |
yarn workspaces foreach --parallel --verbose --interlaced --since --recursive run test --watch=false --ci --forceExit --detectOpenHandles --runInBand --passWithNoTests --coverage | |
- name: Codacy | |
run: | | |
bash <(curl -Ls https://coverage.codacy.com/get.sh) |