diff options
author | Nate Sesti <sestinj@gmail.com> | 2023-07-02 22:04:08 -0700 |
---|---|---|
committer | Nate Sesti <sestinj@gmail.com> | 2023-07-02 22:04:08 -0700 |
commit | 8fceb5b6e4379cf890ebae750a9f0877afd7e5cc (patch) | |
tree | 2ad78eb4d7b28aa0d854838a6fa461a1cad0ed6f /.github | |
parent | 527c5c7ce2a1605935814e83e851d7539d12e6d0 (diff) | |
download | sncontinue-8fceb5b6e4379cf890ebae750a9f0877afd7e5cc.tar.gz sncontinue-8fceb5b6e4379cf890ebae750a9f0877afd7e5cc.tar.bz2 sncontinue-8fceb5b6e4379cf890ebae750a9f0877afd7e5cc.zip |
fix gh workflow to install and cache deps
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/main.yaml | 10 |
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: | |