Skip to content

feat: add loading spinner & sanitize input codes #158

feat: add loading spinner & sanitize input codes

feat: add loading spinner & sanitize input codes #158

Workflow file for this run

name: CI Style
on:
pull_request:
branches: [main]
types: [opened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm install
- name: Check code formatting
run: npm run format
- name: Lint the code
run: npm run lint