Bump the npm_and_yarn group across 2 directories with 24 updates #101
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: π§ͺ Build on Pull Request | |
on: pull_request | |
jobs: | |
build: | |
name: Build and Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Get latest code | |
uses: actions/checkout@v2 | |
- name: π¨ Set up Node 16.17.0 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16.17.0 | |
- name: π Compile and Test Backend | |
run: | | |
cd server | |
npm ci | |
npm run lint | |
npm run build | |
npm run test:build | |
cd .. | |
- name: β Build Frontend | |
run: | | |
cd client | |
npm ci | |
npm run lint | |
npm run build | |
cd .. |