mirror of
https://github.com/github/codeql-action.git
synced 2026-01-03 21:20:09 +08:00
8 lines
187 B
Bash
Executable File
8 lines
187 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
|
|
# Check if npm install is likely needed before proceeding
|
|
if [ ! -d node_modules ] || [ package-lock.json -nt node_modules/.package-lock.json ]; then
|
|
npm install
|
|
fi
|