Skip to content

closes #72

closes #72 #73

Workflow file for this run

name: Build js
on: pull_request
jobs:
build:
name: Build plugin
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm install
- run: npm run build --if-present
eslint:
name: runner / eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '16'
- run: npm ci
- uses: reviewdog/action-eslint@v1
with:
reporter: github-check
eslint_flags: -c .eslintrc.js --ext .js --fix src/