summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-03 01:08:09 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-03 01:08:09 -0700
commit382998eb7192a325a892901a453f47b482406012 (patch)
tree367da71c1ab227abc4e49c60f4d0f8f714f33faf
parent60fd58dc7f2a2f806e1756c8f858378f3784fc4e (diff)
downloadsncontinue-382998eb7192a325a892901a453f47b482406012.tar.gz
sncontinue-382998eb7192a325a892901a453f47b482406012.tar.bz2
sncontinue-382998eb7192a325a892901a453f47b482406012.zip
npm ci
-rw-r--r--.github/workflows/main.yaml21
1 files changed, 16 insertions, 5 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 8baf8c52..3e8509f4 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -27,21 +27,32 @@ jobs:
cd continuedev
poetry install
- - name: Cache node_modules
+ - name: Cache extension node_modules
uses: actions/cache@v2
with:
- path: node_modules
- key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+ path: extension/node_modules
+ key: ${{ runner.os }}-node-${{ hashFiles('extension/package-lock.json') }}
+
+ - name: Cache react-app node_modules
+ uses: actions/cache@v2
+ with:
+ path: extension/react-app/node_modules
+ key: ${{ runner.os }}-node-${{ hashFiles('extension/react-app/package-lock.json') }}
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- - name: Install Dependencies
+ - name: Install extension Dependencies
run: |
cd extension
- npm install
+ npm ci
+
+ -name: Install react-app Dependencies
+ run: |
+ cd extension/react-app
+ npm ci
- name: Build and Publish
run: |