Merge pull request #129 from atlassian-labs/issue/COMPASS-21304-clean… #634
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: 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@v2 | |
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 |