Update lint.yml

This commit is contained in:
Daniel Lautzenheiser 2022-12-01 12:46:50 -05:00 committed by GitHub
parent f52614a939
commit f27963478a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,34 +4,31 @@ on:
push: push:
branches: [ "main" ] branches: [ "main" ]
paths: paths:
- Editor/** - core/**
pull_request: pull_request:
branches: [ "main" ] branches: [ "main" ]
paths: paths:
- Editor/** - core/**
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }} - name: Setup Node
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: ${{ matrix.node-version }} cache: yarn
node-version: 16
- name: Setup - name: Install
working-directory: ./Editor working-directory: ./core
run: | run: |
npm ci npm ci
- name: Lint - name: Lint
working-directory: ./Editor working-directory: ./core
run: | run: |
npm run lint npm run lint