Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Commit

Permalink
ci: dep caching
Browse files Browse the repository at this point in the history
  • Loading branch information
erunion committed Dec 1, 2022
1 parent 62d03ba commit e5673aa
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: CI

on: [push]
on:
push:
branches:
- main
pull_request:

jobs:
# Running linting on Node 14 because of https://github.com/lo1tuma/eslint-plugin-mocha/issues/322
Expand All @@ -11,6 +15,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: 14
cache: npm

- run: npm install -g npm@7
- run: npm ci
Expand All @@ -33,6 +38,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm

# Node 14 still ships with npm@6 so for compatibility reasons we're upping this.
- name: Install npm@8
Expand Down

0 comments on commit e5673aa

Please sign in to comment.