From dd480455d2280ac5c25147d8e261de6277579598 Mon Sep 17 00:00:00 2001 From: Daniel Chyan Date: Thu, 14 Dec 2023 09:25:55 -0800 Subject: [PATCH] fix: fix --- .github/workflows/test.yml | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6ce072e..d90082b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,4 +1,5 @@ name: 'build-test' + on: push: @@ -6,17 +7,11 @@ jobs: build-and-test: runs-on: ubuntu-latest steps: - - uses: actions/checkout - - uses: actions/setup-node + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: '20' - - name: Cache Node.js modules - uses: actions/cache - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- + cache: 'npm' - name: Install dependencies run: npm ci - name: Build, format, lint, package, and run tests