Skip to content

feat: more e2e tests for vote events #609

feat: more e2e tests for vote events

feat: more e2e tests for vote events #609

Workflow file for this run

## Continuous Integration Workflow
name: Build and Deploy
on: [push, pull_request]
# Target Branch Job
jobs:
Lint-Build-Test:
runs-on: ubuntu-latest
steps:
# Check Out Repository
- uses: actions/checkout@v1
# Install Node.js
- uses: actions/[email protected]
with:
node-version: 16.13.2
- name: Clear npm cache
run: npm cache clean --force
# Install Node Dependencies
- name: Installing NodeJS Dependencies
run: npm install
# Run Build
- name: Build
run: npm run build
# Run ESLint
- name: ESLint Check
run: npx eslint . --config .eslintrc.json --ext .js,.jsx,.ts,.tsx
# Run Prettier
- name: Prettier Check
run: npx prettier --check . --config .prettierrc.json
# # Run Jest Unit Tests
# - name: Unit Tests
# run: npx jest
# Deploy:
# needs: [Lint-Build-Test]
# runs-on: ubuntu-latest
# steps:
# # Re-Initialize Staging Server
# - if: github.ref == 'refs/heads/staging'
# name: Push Changes to Staging Server [LIVE]
# - if: github.ref == 'refs/heads/master'
# name: Push Changes to Production Server [LIVE]