Update lint.yml
This commit is contained in:
parent
f52614a939
commit
f27963478a
19
.github/workflows/lint.yml
vendored
19
.github/workflows/lint.yml
vendored
@ -4,34 +4,31 @@ on:
|
||||
push:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- Editor/**
|
||||
- core/**
|
||||
pull_request:
|
||||
branches: [ "main" ]
|
||||
paths:
|
||||
- Editor/**
|
||||
- core/**
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [16.x]
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: yarn
|
||||
node-version: 16
|
||||
|
||||
- name: Setup
|
||||
working-directory: ./Editor
|
||||
- name: Install
|
||||
working-directory: ./core
|
||||
run: |
|
||||
npm ci
|
||||
|
||||
- name: Lint
|
||||
working-directory: ./Editor
|
||||
working-directory: ./core
|
||||
run: |
|
||||
npm run lint
|
||||
|
Loading…
x
Reference in New Issue
Block a user