Skip to content

Merge pull request #3 from comatory/release/v0.1.2 #26

Merge pull request #3 from comatory/release/v0.1.2

Merge pull request #3 from comatory/release/v0.1.2 #26

Workflow file for this run

name: Checks
on: [push]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run lint
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
cache: "npm"
- run: npm ci
- run: npm run format:ci | wc -l | awk '{if ($1 == "4") exit 0; else exit 1;}'