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