Skip to content

Commit 2b2dda7

Browse files
committed
No need to cache npm installs anymore + use npm ci
We have a single dependency that's faster to install than to cache lol Also, use npm ci, which is a subset of npm install that only reads into the lockfile and doesn't do any user-facing adjustments.
1 parent f653274 commit 2b2dda7

File tree

1 file changed

+1
-7
lines changed
  • syntax/.github/workflows

1 file changed

+1
-7
lines changed

syntax/.github/workflows/ci.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,6 @@ jobs:
1919
path: ~/.opam
2020
key: macos-latest-ocaml-4.06.1
2121

22-
- name: Cache npm
23-
uses: actions/[email protected]
24-
with:
25-
path: ~/.npm
26-
key: macos-latest-node-14.4.0-${{hashFiles('package-lock.json')}}
27-
2822
- name: Use OCaml
2923
uses: avsm/[email protected]
3024
with:
@@ -35,6 +29,6 @@ jobs:
3529
with:
3630
node-version: 14.4.0
3731

38-
- run: npm install
32+
- run: npm ci
3933

4034
- run: eval $(opam env) && make roundtrip-test

0 commit comments

Comments
 (0)