Update lint action (#696)

This commit is contained in:
Piotr Rogowski 2022-07-27 01:23:19 +02:00 committed by GitHub
parent 3eec2d0514
commit 2abd23cad2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 11 deletions

View File

@ -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