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.
1 parent a9cbc41 commit b926852Copy full SHA for b926852
2 files changed
.github/actions/node-restore-cache/action.yml
@@ -59,3 +59,6 @@ runs:
59
else
60
npm install --ignore-scripts --no-audit --no-fund
61
fi
62
+ if [ -d node_modules/sqlite3 ]; then
63
+ npm rebuild sqlite3 --no-audit --no-fund
64
+ fi
.github/actions/node-setup-cache/action.yml
@@ -76,6 +76,21 @@ runs:
76
77
78
79
+ - name: Rebuild native modules skipped by --ignore-scripts
80
+ if: inputs.install-dependencies == 'true'
81
+ shell: bash
82
+ env:
83
+ PKG_DIR: ${{ inputs.working-directory }}
84
+ run: |
85
+ set -euo pipefail
86
+ WD="${PKG_DIR:-.}"
87
+ if [ "$WD" != "." ]; then
88
+ cd "$WD"
89
90
91
92
93
+
94
- name: Save node_modules cache
95
id: cache-node-modules
96
uses: actions/cache@v4
0 commit comments