Skip to content

Merge pull request #22 from sredevopsorg/upstream #51

Merge pull request #22 from sredevopsorg/upstream

Merge pull request #22 from sredevopsorg/upstream #51

Workflow file for this run

name: Test
on:
pull_request:
push:
branches:
- main
- 'renovate/*'
workflow_dispatch:
permissions:
contents: read
jobs:
lint:
runs-on: ubuntu-latest
if: github.event_name == 'push' || (github.event_name == 'pull_request' && !startsWith(github.head_ref, 'renovate/')) || github.event_name == 'workflow_dispatch'
steps:
- name: Harden Runner
uses: step-security/harden-runner@f086349bfa2bd1361f7909c78558e816508cdc10 # v2.8.0
with:
egress-policy: audit
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
node-version: 20
cache: yarn
- run: yarn
- run: yarn lint