Skip to content

chore(deps-dev): bump @evilmartians/lefthook from 1.6.12 to 1.7.13 #2112

chore(deps-dev): bump @evilmartians/lefthook from 1.6.12 to 1.7.13

chore(deps-dev): bump @evilmartians/lefthook from 1.6.12 to 1.7.13 #2112

Workflow file for this run

on: pull_request
name: Pull Request Workflow
jobs:
runTests:
name: Run Tests
runs-on: ubuntu-latest
strategy:
matrix:
node_version: [14, 16, 18]
steps:
- uses: actions/checkout@v4
- name: npm cache
id: npm-cache
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Install Deps if no cache
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm ci
- name: run build if cache
if: steps.npm-cache.outputs.cache-hit == 'true'
run: npm run build
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4.0.2
with:
node-version: ${{ matrix.node_version }}
- name: Execute tests
run: npm run test
CodeQL-Build:
runs-on: ubuntu-latest
needs: runTests
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 5
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: javascript
- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3