Repository navigation
chore(deps): bump the production-dependencies group across 1 directory with 89 updates #47
This file contains hidden or 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: Stratus PR Checks | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| changes: | |
| runs-on: ubuntu-latest | |
| name: Get Stratus Changed Files | |
| permissions: | |
| contents: read | |
| outputs: | |
| nimbus: ${{ steps.filter.outputs.stratus }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| # required to get the action to not use Github's API | |
| token: '' | |
| filters: | | |
| stratus: | |
| - './apps/stratus/**' | |
| - './.github/workflows/stratus-presubmit.yaml' | |
| stratus-tests: | |
| name: Stratus Unit Tests | |
| runs-on: ubuntu-latest | |
| needs: changes | |
| environment: dev | |
| permissions: | |
| contents: read | |
| id-token: write | |
| defaults: | |
| run: | |
| working-directory: apps/stratus | |
| if: ${{needs.changes.outputs.stratus == 'true'}} | |
| steps: | |
| - name: Check out code | |
| uses: actions/checkout@v4 | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: apps/stratus/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Compile | |
| run: npm run build | |
| - name: Unit test | |
| run: npm run test |