Skip to content

chore: bump step-security/harden-runner from 2.14.1 to 2.15.0 #1849

chore: bump step-security/harden-runner from 2.14.1 to 2.15.0

chore: bump step-security/harden-runner from 2.14.1 to 2.15.0 #1849

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@a90bcbc6539c36a85cdfeb73f7e2f433735f215b # v2.15.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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Setup Node
uses: actions/setup-node@6044e13b5dc448c55e2357c09f80417699197238 # v6.2.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