We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm ci
1 parent f91cab1 commit 8bfaf96Copy full SHA for 8bfaf96
1 file changed
pr-checks/sync.sh
@@ -3,5 +3,13 @@ set -e
3
4
cd "$(dirname "$0")"
5
6
-npm install --no-audit --no-fund
+# Run `npm ci` in CI or `npm install` otherwise.
7
+if [ "$GITHUB_ACTIONS" = "true" ]; then
8
+ echo "In Actions, running 'npm ci' for 'sync.ts'..."
9
+ npm ci
10
+else
11
+ echo "Running 'npm install' for 'sync.ts'..."
12
+ npm install --no-audit --no-fund
13
+fi
14
+
15
npx tsx sync.ts
0 commit comments