From b8461c9dd866620e058bb2d34d033556b27e613f Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Thu, 28 Apr 2022 07:00:09 +0000 Subject: [PATCH] fix dir --- .github/workflows/frontend-linting.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/frontend-linting.yml b/.github/workflows/frontend-linting.yml index 85882642..9414348d 100644 --- a/.github/workflows/frontend-linting.yml +++ b/.github/workflows/frontend-linting.yml @@ -5,19 +5,20 @@ on: pull_request: branches: [develop] +defaults: + run: + working-directory: web + jobs: lint: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - name: CD to web directory - run: cd web - - uses: actions/setup-node@v3 with: node-version: 16 - - run: npm install + - run: cd web && npm install - name: Run Prettier formatting run: npm run format