Update neo4j-supported-versions.adoc #257
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: Lint | |
on: | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: | | |
npm ci | |
- name: Lint | |
run: | | |
FORCE_COLOR=1 npm run lint | |
- name: Annotate | |
uses: yuzutech/[email protected] | |
with: | |
title: 'report' | |
repo-token: "${{ secrets.GITHUB_TOKEN }}" | |
input: './annotations.json' | |
# when the pull request is created from a fork repository, | |
# the token won't have write permissions to the origin repository. | |
ignore-unauthorized-error: true | |
# the previous task `npm run lint` will return 1 as exit code if there are any issues, | |
# but we still want to execute this task to annotate the code. | |
if: ${{ always() }} |