From f27963478a2c7c2ca5610e9fd6085fd9d65060d5 Mon Sep 17 00:00:00 2001 From: Daniel Lautzenheiser Date: Thu, 1 Dec 2022 12:46:50 -0500 Subject: [PATCH] Update lint.yml --- .github/workflows/lint.yml | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 893ccd27..3f0dc4f4 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -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