From ad109db74072a500f0b8325387a2d968ea751f4b Mon Sep 17 00:00:00 2001 From: Nathan Lewis Date: Wed, 24 Jan 2024 10:06:36 -0600 Subject: [PATCH] chore(gh): changes to lint ci --- .github/workflows/lint.yml | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 44021d87..60585494 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -1,6 +1,12 @@ -name: Lint Check +name: Lint Web Embeds -on: [push, pull_request] +on: + push: + paths: + - 'web-embeds/**' + pull_request: + paths: + - 'web-embeds/**' jobs: lint: @@ -8,13 +14,14 @@ jobs: steps: - uses: actions/checkout@v2 - - name: Use Node.js + + - name: Set up Node.js uses: actions/setup-node@v1 with: - node-version: '14' + node-version: '14' # Specify your Node.js version - name: Install Dependencies - run: yarn install + run: cd web-embeds && yarn install - name: Run Lint - run: yarn lint + run: cd web-embeds && yarn lint