diff options
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/new.yml | 5 | ||||
-rw-r--r-- | .github/workflows/old.yml | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/.github/workflows/new.yml b/.github/workflows/new.yml index 8c8ebf50..82e7f91e 100644 --- a/.github/workflows/new.yml +++ b/.github/workflows/new.yml @@ -14,7 +14,10 @@ jobs: steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 - - run: npm install + with: + cache: npm + cache-dependency-path: modern/package-lock.json + - run: npm ci working-directory: modern - run: npm run lint working-directory: modern diff --git a/.github/workflows/old.yml b/.github/workflows/old.yml index 747ddca0..e9b9fb27 100644 --- a/.github/workflows/old.yml +++ b/.github/workflows/old.yml @@ -12,7 +12,10 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@v1 - - run: npm install --ignore-scripts + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 + with: + cache: npm + cache-dependency-path: package-lock.json + - run: npm ci --ignore-scripts - run: npm run lint |