FLUID-6785: add package-lock.json to version control #447
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Code linting | |
on: [push, pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
steps: | |
- name: Prepare git | |
run: git config --global core.autocrlf false | |
- uses: actions/checkout@v4 | |
- name: Use Node.js 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
cache: npm | |
- name: Install Node.js dependencies | |
run: npm install | |
- name: Run code linter | |
run: npm run lint |