Skip to content

Merge pull request #48 from iden3/feat/spellcheck #144

Merge pull request #48 from iden3/feat/spellcheck

Merge pull request #48 from iden3/feat/spellcheck #144

Workflow file for this run

name: Build, Lint and Test
on: push
jobs:
build:
timeout-minutes: 7
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
- name: Cache node modules
uses: actions/cache@v4
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: cache-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
- name: Install dependencies
run: npm ci
- name: Run Prettier
run: npm run format:check
- name: Run ESLint
run: npm run lint:check
- name: Build
run: npm run build
- name: Run Tests
run: npm run test