chore: add fe folder #14
Workflow file for this run
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
name: "FE: Build and Deploy" | |
on: | |
# test purposes | |
pull_request: | |
branches: | |
- 'master' | |
types: | |
- opened | |
- synchronize | |
- reopened | |
push: | |
branches: | |
- 'master' | |
workflow_dispatch: | |
permissions: | |
contents: write | |
concurrency: | |
group: 'pages' | |
cancel-in-progress: true | |
jobs: | |
fe-build-and-deploy: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: 'solfees-fe' | |
steps: | |
- name: π Checkout Code | |
uses: actions/checkout@v4 | |
- name: π¦ Install pnpm | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 9 | |
- name: π§ Install node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
cache: 'pnpm' | |
cache-dependency-path: "solfees-fe" | |
- name: π Install node_modules | |
run: pnpm install | |
- name: οΈποΈ Build application | |
run: pnpm build | |
- name: π Deploy | |
uses: JamesIves/github-pages-deploy-action@v4 | |
with: | |
folder: solfees-fe/dist |