From 1299e153b6a73a60058569a7e250dba8080e2a59 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sun, 2 Jul 2023 22:04:08 -0700 Subject: fix gh workflow to install and cache deps --- .github/workflows/main.yaml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to '.github') 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: | -- cgit v1.2.3-70-g09d2