Skip to content

Bump actions/setup-node from 6.1.0 to 6.2.0 #185

Bump actions/setup-node from 6.1.0 to 6.2.0

Bump actions/setup-node from 6.1.0 to 6.2.0 #185

Workflow file for this run

name: "Lint Checks"
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
# Basic linter check
lint-check:
name: Lint check
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Node.js
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.0
with:
node-version: "24"
cache: "npm"
- name: Install Dependencies
run: npm ci
- name: Run formatter check
run: |
./node_modules/.bin/prettier --check --loglevel silent "src/**/*.ts" || ( \
echo "Run this command on your local device to fix the error:" && \
echo "" && \
echo " make format" && \
echo "" && exit 1)
- name: Run build check
run: |
npm run build && test -z "$(git status --porcelain)" || ( \
echo "dist is out of date, run this command on your local device to fix the error:" && \
echo "" && \
echo " make build" && \
echo "" && exit 1)