Skip to content

Commit

Permalink
fix: substitute --cwd for cd command
Browse files Browse the repository at this point in the history
  • Loading branch information
clostao committed Nov 6, 2024
1 parent ee9e0a9 commit 10d157c
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/frontend-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
jobs:
build-and-test:
runs-on: ubuntu-latest
name: Build specific package and run tests
name: Build frontend
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
Expand All @@ -26,14 +26,17 @@ jobs:
with:
node-version: "18"

- name: Set working directory
run: cd frontend

- name: Enable Corepack
run: corepack enable

- name: Set Yarn version to Berry
run: corepack prepare [email protected] --activate

- name: Install dependencies
run: yarn install --cwd frontend
run: yarn install

- name: Build specific package 🔧
run: yarn build --cwd frontend
- name: Build frontend 🔧
run: yarn build

0 comments on commit 10d157c

Please sign in to comment.