Merge pull request #256 from atlassian-labs/snyk-fix-26d7e1dec8bb8cd0… #1221
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: Run Lint and All Tests | |
| on: | |
| push: | |
| pull_request: | |
| types: [assigned, opened, synchronize, reopened, edited] | |
| jobs: | |
| lint_and_test: | |
| runs-on: ubuntu-22.04 | |
| env: | |
| CI: false | |
| steps: | |
| - uses: actions/checkout@v1 | |
| - uses: actions/cache@v4 | |
| with: | |
| path: '**/node_modules' | |
| key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
| - run: yarn install --frozen-lockfile | |
| - run: yarn ui:install --frozen-lockfile | |
| - run: yarn run lint | |
| - run: yarn run lint:typecheck | |
| - run: yarn run ui:build | |
| - name: Forge Tests | |
| run: yarn test | |
| - name: UI Tests | |
| run: yarn ui:test |