Skip to content

Develop

Develop #14

name: Check pull request
on:
pull_request:
types:
- opened
branches:
- develop
jobs:
check-pr:
runs-on: ubuntu-latest
steps:
- name: Print github
run: echo '${{ toJson(github) }}'
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Install dependencies
run: npm ci
- name: Run linter
run: npm run lint
continue-on-error: true
- name: Report lint errors
if: ${{ failure() }}
run: echo "There are linting errors. Please use 'npm run lint-fix' to address them."