From 2abd23cad2dbac11d7ae9bbda8188efc2a8654a9 Mon Sep 17 00:00:00 2001 From: Piotr Rogowski Date: Wed, 27 Jul 2022 01:23:19 +0200 Subject: [PATCH] Update lint action (#696) --- .github/workflows/lint.js.yml | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.js.yml b/.github/workflows/lint.js.yml index 665829a..7c46619 100644 --- a/.github/workflows/lint.js.yml +++ b/.github/workflows/lint.js.yml @@ -1,6 +1,3 @@ -# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node -# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions - name: Lint code on: @@ -15,16 +12,11 @@ jobs: env: NPM_GITHUB_TOKEN: ${{ secrets.NPM_GITHUB_PAT }} - strategy: - matrix: - node-version: [16.x] - # See supported Node.js release schedule at https://nodejs.org/en/about/releases/ - steps: - uses: actions/checkout@v3 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + - uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: "lts/*" + cache: "npm" - run: npm ci - run: npm run lint