Merge pull request #105 from Som-Energia/NEW_gurb_validation_pages #136
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Check for Outdated NPM Dependencies | |
on: [push] | |
jobs: | |
check-outdated: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.11.0' | |
- name: Install dependencies | |
run: npm install | |
- name: Install npm 10.3.0 | |
run: npm install -g [email protected] | |
# Optional: Clear npm cache to prevent cache-related issues | |
- name: Clear npm cache | |
run: npm cache clean --force | |
# Run npm outdated and handle failures | |
- name: List of outdated dependencies | |
run: | | |
echo Listing for updated dependencies | |
npm outdated || true |