Update README.md #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: NexPay WorkFlow CI/CD | |
on: | |
push: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 20.x | |
- name: Install frontend dependencies | |
run: cd frontend && npm install | |
- name: Build frontend | |
run: cd frontend | |
- name: Install backend dependencies | |
run: cd backend && npm install | |
- name: Start backend | |
run: cd backend |