mirror of
https://github.com/Lissy93/dashy.git
synced 2026-04-19 17:56:57 -04:00
fix: add src dir
This commit is contained in:
7
.github/workflows/build-release-assets.yml
vendored
7
.github/workflows/build-release-assets.yml
vendored
@@ -36,7 +36,7 @@ jobs:
|
||||
- name: Setup Node.js ⚙️
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '18'
|
||||
node-version: '24'
|
||||
cache: 'yarn'
|
||||
|
||||
- name: Install dependencies 📥
|
||||
@@ -58,6 +58,11 @@ jobs:
|
||||
cp server.js "$STAGING/"
|
||||
cp yarn.lock "$STAGING/"
|
||||
|
||||
# src/utils/ files referenced directly by the server at runtime
|
||||
mkdir -p "$STAGING/src/utils"
|
||||
cp src/utils/ConfigSchema.json "$STAGING/src/utils/"
|
||||
cp src/utils/defaults.js "$STAGING/src/utils/"
|
||||
|
||||
# Strip devDependencies so `yarn install --production` stays lean
|
||||
node -e "
|
||||
const pkg = JSON.parse(require('fs').readFileSync('package.json', 'utf8'));
|
||||
|
||||
Reference in New Issue
Block a user