import and export options metabox #114
Workflow file for this run
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: Build js | |
on: pull_request | |
jobs: | |
build: | |
name: Build plugin | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [lts/*, latest] | |
# 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@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 'lts/*' | |
- run: npm ci | |
- uses: reviewdog/action-eslint@v1 | |
with: | |
reporter: github-check | |
eslint_flags: -c .eslintrc.js --ext .js --fix src/ |