diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-03 01:08:09 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-03 01:08:09 -0700 |
commit | 382998eb7192a325a892901a453f47b482406012 (patch) | |
tree | 367da71c1ab227abc4e49c60f4d0f8f714f33faf | |
parent | 60fd58dc7f2a2f806e1756c8f858378f3784fc4e (diff) | |
download | sncontinue-382998eb7192a325a892901a453f47b482406012.tar.gz sncontinue-382998eb7192a325a892901a453f47b482406012.tar.bz2 sncontinue-382998eb7192a325a892901a453f47b482406012.zip |
npm ci
-rw-r--r-- | .github/workflows/main.yaml | 21 |
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: | |