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