Skip to content

Vote component

Vote component #1339

Workflow file for this run

name: Test & Lint
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: EgorDm/gha-yarn-node-cache@v1
- name: Install dependencies
run: yarn install --prod
- name: Build
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: EgorDm/gha-yarn-node-cache@v1
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: EgorDm/gha-yarn-node-cache@v1
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn run eslint --format .config/eslint/annotations_formatter.js src/