diff --git a/.github/workflows/call-coverage.yml b/.github/workflows/call-coverage.yml index f944e78c6..659a46690 100644 --- a/.github/workflows/call-coverage.yml +++ b/.github/workflows/call-coverage.yml @@ -1,4 +1,4 @@ -name: CodeCoverage +name: Test Coverage on: workflow_call: @@ -10,7 +10,7 @@ on: jobs: rush-coverage: - name: rush coverage + name: rush test:cov timeout-minutes: 25 runs-on: ubuntu-latest steps: @@ -18,6 +18,7 @@ jobs: uses: actions/checkout@v3 with: fetch-depth: 0 + ref: ${{ secrets.IMPACTED_BY_SHA }} - name: Setup Node uses: actions/setup-node@v3 @@ -38,13 +39,14 @@ jobs: - name: Install PNPM run: npm install --global pnpm@8.6.6 - - name: Rush install + - name: rush install run: node common/scripts/install-run-rush.js install -p - name: rush build run: node common/scripts/install-run-rush.js build - - uses: neofinancial/mongo-memory-server-action@v1.0.2 + - name: rush test:cov + uses: neofinancial/mongo-memory-server-action@v1.0.2 with: db-connection-env-var: MONGO_DATABASE_URI run-command: node common/scripts/install-run-rush.js test:cov @@ -62,4 +64,3 @@ jobs: with: project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} coverage-reports: coverage/lcov.info - diff --git a/.github/workflows/call-deploy.yml b/.github/workflows/call-deploy.yml index db4217081..81c40849b 100644 --- a/.github/workflows/call-deploy.yml +++ b/.github/workflows/call-deploy.yml @@ -1,6 +1,7 @@ -# prior to services being deployed to S3 dependencies are published to npm services to ensure dependencies are avaliable +# libray and platform dependencies MUST be published to npm +# prior to services being deployed to S3 dependencies to ensure dependencies are avaliable -name: Deploy +name: Deploy Artifacts on: workflow_call: