From 6aa1df0288dd0b31d68ee7e4a7d8193210f187eb Mon Sep 17 00:00:00 2001 From: ITQ Date: Mon, 1 Apr 2024 00:39:17 +0300 Subject: [PATCH] [fix] Fixed CI/CD --- .github/workflows/frontend.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/frontend.yml b/.github/workflows/frontend.yml index d657bbc..0a909a6 100644 --- a/.github/workflows/frontend.yml +++ b/.github/workflows/frontend.yml @@ -12,12 +12,10 @@ jobs: uses: actions/setup-node@v2 with: node-version: '18' - - name: Change directory - run: cd frontend - name: Install dependencies - run: npm install + run: cd frontend && npm install - name: Linting - run: npm run lint + run: cd frontend && npm run lint build_and_push: runs-on: ubuntu-latest @@ -30,12 +28,10 @@ jobs: uses: actions/setup-node@v2 with: node-version: '18' - - name: Change directory - run: cd frontend - name: Install dependencies - run: npm install + run: cd frontend && npm install - name: Build - run: npm run build + run: cd frontend && npm run build - name: Login to Docker Hub uses: docker/login-action@v2 with: