-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,29 +14,30 @@ on: | |
workflow_dispatch: | ||
|
||
jobs: | ||
build-and-test: | ||
frontend-build-check: | ||
name: Frontend Build Check | ||
runs-on: ubuntu-latest | ||
name: Build frontend | ||
|
||
# Cache dependencies to speed up the workflow | ||
steps: | ||
- name: Checkout 🛎️ | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
uses: actions/setup-node@v3 | ||
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 | ||
working-directory: ./frontend | ||
run: yarn install | ||
|
||
- name: Build frontend 🔧 | ||
- name: Run build | ||
working-directory: ./frontend | ||
run: yarn build |