Update lint action (#696)
This commit is contained in:
parent
3eec2d0514
commit
2abd23cad2
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue