mirror of
https://github.com/github/codeql-action.git
synced 2026-05-04 21:00:09 +00:00
455038c8a7
and add it to the `build` command
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
|