move to using /src - still css issue work
Some checks failed
Deploy to Web Server flyer-crawler.projectium.com / deploy (push) Failing after 22s

This commit is contained in:
2025-11-12 16:55:10 -08:00
parent 12970d371d
commit dcac08e737
5 changed files with 23 additions and 30 deletions

View File

@@ -41,19 +41,12 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: '20'
# cache intentially commented out to troubleshoot issues with caching
# cache: 'npm' # Cache npm dependencies to speed up subsequent builds.
# Use a glob pattern to find the lock file, making the path more resilient.
cache: 'npm' # Re-enable the cache. If this fails, we will remove it again.
cache-dependency-path: '**/package-lock.json'
# THIS IS THE NEW, CRITICAL STEP
- name: Force Clean Install
run: |
echo "Forcing a clean slate by removing node_modules and package-lock.json"
rm -rf node_modules
rm -f package-lock.json
npm install
# The setup-node action with caching handles installation correctly.
# If dependencies are not found in cache, it will run 'npm ci' automatically.
# If they are found, it restores them. This is the standard, reliable way.
- name: Install Dependencies
run: npm ci # 'ci' is faster and safer for CI/CD than 'install'.