adding new componets for the frontend #31
This file contains hidden or 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: Learning actions | |
on: | |
push: | |
branches: [ "main" ] | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18.x' | |
- name: Install dependcies in front end | |
run: | | |
cd frontend | |
npm install | |
- name: Install dependcies in backend end | |
run: | | |
cd backend | |
npm install | |
- name: Build the frontend app | |
run: | | |
cd frontend | |
npm run build |