Skip to content

Add smart contract for checking passport status (#72) #145

Add smart contract for checking passport status (#72)

Add smart contract for checking passport status (#72) #145

Workflow file for this run

name: Linters and Prettier
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
node-version: [16.x, 18.x]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm install
- run: npx eslint '**/*.{js,ts}'
- run: npx solhint 'contracts/**/*.sol'
- run: npx prettier '**/*.{json,sol,md}' --check