From 258331213a2f2cdd4ffe467206089526ca8a30b2 Mon Sep 17 00:00:00 2001 From: krins Date: Tue, 22 Oct 2024 10:13:09 -0400 Subject: [PATCH] refactor: update lint workflow to use latest actions and improve caching --- .github/workflows/lint.yml | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 8783a1e..ffc955b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -13,16 +13,17 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v2 + - name: Checkout code + uses: actions/checkout@v3 - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: '16' + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: '16' + cache: 'npm' - - name: Install dependencies - run: npm install + - name: Install dependencies + run: npm ci - - name: Run linter - run: npm run lint \ No newline at end of file + - name: Run linter + run: npm run lint \ No newline at end of file