add backend to the project (express) #2
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: Deployment pipeline | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
simple_deployment_pipeline: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
# - uses: superfly/flyctl-actions/setup-flyctl@master | |
- name: Install dependencies and run checks for frontend | |
working-directory: ./frontend | |
run: | | |
npm ci | |
npm run lint | |
npm run build | |
npm run test |