Cache appids for 24 hrs if fetch is successful #878
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: eslint | |
on: [push, pull_request] | |
jobs: | |
run-eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "npm" | |
- run: npm ci --ignore-scripts | |
- if: failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: npm-log | |
path: /home/runner/.npm/_logs/ | |
- run: npm run lint |