Skip to content

chore: bump step-security/harden-runner from 2.13.2 to 2.14.0 #1681

chore: bump step-security/harden-runner from 2.13.2 to 2.14.0

chore: bump step-security/harden-runner from 2.13.2 to 2.14.0 #1681

Workflow file for this run

name: Lint Checks (ESLint / Prettier)
on:
pull_request:
types:
- opened
- ready_for_review
- synchronize
- labeled
branches:
- main
jobs:
lint:
name: Check Linting and Formatting
timeout-minutes: 5
runs-on: ubuntu-latest
if: ${{ github.event.action == 'opened' || github.event.action == 'ready_for_review' || github.event.action == 'synchronize' || (github.event.action == 'labeled' && github.event.label.name == 'force ci') }}
steps:
- uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
registry.npmjs.org:443
release-assets.githubusercontent.com:443
- name: Git Checkout
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
- name: Setup Node
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
with:
node-version: lts/*
cache: 'npm'
- name: Install Dependencies
run: npm ci
- name: Run Prettier
run: node --run prettier
- name: Run ESLint
run: node --run lint