build(deps): bump postcss from 8.4.20 to 8.4.31 #1420
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: Tests | |
# Tests runs unit tests over the entire repository. | |
# This workflow is run on every pull request and push to main. | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
tests: | |
name: Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@v3 | |
- name: Compute diff 📜 | |
uses: technote-space/[email protected] | |
id: git_diff | |
with: | |
PATTERNS: +(src|__tests__|**)/**/*.+(js|jsx|ts|tsx) | |
FILES: | | |
package.json | |
yarn.lock | |
- name: Install 🔨 | |
if: env.GIT_DIFF | |
run: yarn install --immutable | |
- name: Run unit tests 🧪 | |
if: env.GIT_DIFF | |
run: yarn test --coverage | |
- name: Run build check | |
if: env.GIT_DIFF | |
run: yarn build | |
- name: Run e2e tests | |
if: env.GIT_DIFF | |
uses: cypress-io/github-action@v2 | |
with: | |
start: yarn start | |