diff --git a/.github/workflows/build-and-lint.yml b/.github/workflows/build-and-lint.yml index a830a9b..8a96e8d 100644 --- a/.github/workflows/build-and-lint.yml +++ b/.github/workflows/build-and-lint.yml @@ -5,6 +5,8 @@ on: ['push', 'pull_request'] jobs: build-and-lint: runs-on: ubuntu-latest + env: + working-directory: ./src steps: - name: Checkout code @@ -17,8 +19,10 @@ jobs: - name: Install dependencies run: npm ci --include=dev + working-directory: ${{ env.working-directory }} - name: Build and lint run: | npm run build npm run lint + working-directory: ${{ env.working-directory }}