Test, build, lint and validate #6
Workflow file for this run
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: 'Check status' | |
run-name: 'Test, build, lint and validate' | |
on: | |
pull_request: | |
jobs: | |
test: | |
runs-on: 'ubuntu-latest' | |
name: 'Checking code and dependencies' | |
steps: | |
- name: 'Retrieve repository files' | |
uses: 'actions/checkout@v4' | |
- name: 'Setup Node environment' | |
uses: 'actions/setup-node@v4' | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
cache-dependency-path: 'yarn.lock' | |
- name: 'Install dependencies' | |
run: 'yarn install' | |
- name: 'Build' | |
run: 'yarn build' | |
- name: 'Test' | |
run: 'yarn test' | |
- name: 'Lint' | |
run: 'yarn lint' | |
- name: 'Validate dependencies' | |
run: 'yarn validate' |