Skip to content

Merge pull request #410 from salemlf/bump/v2.6.3-beta #429

Merge pull request #410 from salemlf/bump/v2.6.3-beta

Merge pull request #410 from salemlf/bump/v2.6.3-beta #429

name: Format and lint on push
on: [push]
jobs:
ensure-linted:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Check for linting errors
run: npm run lint-err-only
ensure-formatted:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Ensure code is formatted
run: npm run check-format