Initial CICD settings; add theme colors to DaisyUI #5
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: Lint & Test Workflow | |
on: | |
pull_request: | |
branches: [main, dev] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "18" # current LTS (we have 16 in Docker) | |
- name: Install dependencies | |
run: yarn install | |
- name: Run Eslint | |
run: yarn lint --strict | |
- name: Run Jest tests | |
run: yarn test | |
- name: Run Cypress tests | |
run: yarn cypress |