Skip to content

Commit cb7c343

Browse files
chore(xtest): Cache node modules in CI (#236)
1 parent e6cf005 commit cb7c343

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/xtest.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,6 @@ jobs:
7070
with:
7171
repository: opentdf/tests
7272
path: otdftests # use different name bc other repos might have tests directories
73-
- name: Set up Node 22
74-
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
75-
with:
76-
node-version: "22.x"
77-
registry-url: https://npm.pkg.github.com
7873
- name: Set up Python 3.10
7974
uses: actions/setup-python@0b93645e9fea7318ecaed2b359559ac225c90a2b
8075
with:
@@ -96,6 +91,11 @@ jobs:
9691
repository: opentdf/web-sdk
9792
path: web-sdk
9893
ref: ${{ env.JS_REF }}
94+
- name: Set up Node 22
95+
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af
96+
with:
97+
node-version: "22.x"
98+
cache-dependency-path: web-sdk/lib/package-lock.json web-sdk/cli/package-lock.json
9999

100100
######## SETUP THE JS CLI #############
101101
- name: build the js cli

0 commit comments

Comments
 (0)