Checking in build for CI. #17
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: CI/CD Pipeline | |
on: | |
push: | |
branches: | |
- olt | |
jobs: | |
build: | |
name: Build Frontend Artifact | |
runs-on: ubuntu | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node 16 | |
uses: action/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install deps | |
run: | | |
cd frontend | |
npm i | |
- name: Build code | |
run: cd frontend && npm run build | |
- name: Upload artifact | |
uses: actions/upload-pages-artifact@v1 | |
with: | |
path: frontend/build | |