npm ci
This commit is contained in:
parent
c38dc02e22
commit
8b5130a5cd
1 changed files with 16 additions and 5 deletions
21
.github/workflows/main.yaml
vendored
21
.github/workflows/main.yaml
vendored
|
|
@ -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: |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue