Skip to content

Merge pull request #6 from Saba-Var/feat/toastification #12

Merge pull request #6 from Saba-Var/feat/toastification

Merge pull request #6 from Saba-Var/feat/toastification #12

Workflow file for this run

name: Build/Lint
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Cache Node.js dependencies
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Run linting
run: npm run lint
- name: Build
run: npm run build