summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/main.yaml10
1 files changed, 9 insertions, 1 deletions
diff --git a/.github/workflows/main.yaml b/.github/workflows/main.yaml
index 467277e4..30bfde73 100644
--- a/.github/workflows/main.yaml
+++ b/.github/workflows/main.yaml
@@ -13,13 +13,21 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
+ - name: Cache node_modules
+ uses: actions/cache@v2
+ with:
+ path: node_modules
+ key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
+
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: "14"
- name: Install Dependencies
- run: npm install
+ run: |
+ cd extension
+ npm install
- name: Build and Publish
run: |