summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorNate Sesti <sestinj@gmail.com>2023-07-02 22:04:08 -0700
committerNate Sesti <sestinj@gmail.com>2023-07-02 22:04:08 -0700
commit1299e153b6a73a60058569a7e250dba8080e2a59 (patch)
treec3ac6cc9b6207bd786e406b4b4dbfeee2ddbe2e1 /.github
parent5dda9c10ea8c82a527361949f000b4c22b1bd763 (diff)
downloadsncontinue-1299e153b6a73a60058569a7e250dba8080e2a59.tar.gz
sncontinue-1299e153b6a73a60058569a7e250dba8080e2a59.tar.bz2
sncontinue-1299e153b6a73a60058569a7e250dba8080e2a59.zip
fix gh workflow to install and cache deps
Diffstat (limited to '.github')
-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: |