From 1dd81ad97313d837a916e897b7e605938c2f4601 Mon Sep 17 00:00:00 2001 From: quadseed Date: Fri, 16 Feb 2024 00:46:54 +0900 Subject: [PATCH] Fix: [Workflow] fix workflow --- .github/workflows/front-build-test.yml | 6 ++---- .github/workflows/front-lint.yml | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/front-build-test.yml b/.github/workflows/front-build-test.yml index 0d1de2e..68a36d7 100644 --- a/.github/workflows/front-build-test.yml +++ b/.github/workflows/front-build-test.yml @@ -15,13 +15,11 @@ jobs: - name: setup Node.js uses: actions/setup-node@v4 with: - node-version: '18.17.1' - - - name: Change directory - run: cd frontend + node-version: '18.x' - name: Install Dependencies run: npm ci + working-directory: frontend - name: build run: npm run build \ No newline at end of file diff --git a/.github/workflows/front-lint.yml b/.github/workflows/front-lint.yml index 9944bbf..b2b27ff 100644 --- a/.github/workflows/front-lint.yml +++ b/.github/workflows/front-lint.yml @@ -15,13 +15,11 @@ jobs: - name: setup Node.js uses: actions/setup-node@v4 with: - node-version: '18.17.1' - - - name: Change directory - run: cd frontend + node-version: '18.x' - name: Install Dependencies run: npm ci + working-directory: frontend - name: Run next lint run: yarn run lint