Update Minor Packages #213
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: PR Checks | |
on: # Rebuild any PRs and main branch changes | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
install-node-modules: | |
name: Install Dependencies | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- name: Validate cache | |
run: yarn install --frozen-lockfile | |
test: | |
name: Run Jest Tests | |
runs-on: ubuntu-latest | |
needs: install-node-modules | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: test | |
run: yarn test | |
lint: | |
name: Run Lints | |
runs-on: ubuntu-latest | |
needs: install-node-modules | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: lint | |
run: yarn lint | |
- name: markdown lint | |
run: yarn lint:md | |
prettier: | |
name: Check Formatting | |
runs-on: ubuntu-latest | |
needs: install-node-modules | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
cache: yarn | |
- name: install | |
run: yarn install --frozen-lockfile | |
- name: format-check | |
run: yarn format:check |