Skip to content

Fixing the jshint.yaml to Run as Part of Workflows #1

Fixing the jshint.yaml to Run as Part of Workflows

Fixing the jshint.yaml to Run as Part of Workflows #1

Workflow file for this run

name: JSHint
on:
push:
branches:
- f24
pull_request:
branches:
- f24
defaults:
run:
shell: bash
permissions:
contents: read
jobs:
jshint:
permissions:
checks: write
contents: read
name: JSHint
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
node: [16]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- run: cp install/package.json package.json
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: NPM Install
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: Run JSHint
run: npm run jshint