Skip to content

Ybhosale/fetch election data #252

Ybhosale/fetch election data

Ybhosale/fetch election data #252

Workflow file for this run

name: CICD
env:
SITE_HOST: https://chicagoelectionsarchive.org
on:
pull_request:
types: [opened, synchronize]
push:
branches:
- main
workflow_dispatch:
jobs:
checks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: "17.x"
- uses: actions/cache@v1
with:
path: ~/.npm
key: npm-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
npm-
- run: npm ci --prefer-offline --no-audit --no-optional
- run: npm run lint
- run: npm run style
- run: npm run build