Skip to content

specify nodejs version tojenkins agent #5

specify nodejs version tojenkins agent

specify nodejs version tojenkins agent #5

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
lint:
name: Node.js
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: ["14.x"]
steps:
- name: Checkout https://github.com/${{ github.repository }}@${{ github.ref }}
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Run linter
run: npx --no-install jshint@2.12.0 .