Fix/crlf mvnw #9
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 | |
on: | |
pull_request: | |
branches: main | |
jobs: | |
build-front: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./shop-client | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: npm install | |
- name: Linter | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Docker build | |
run: docker build . | |
build-back: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./shop-server | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Build | |
run: ./mvnw compile | |
- name: Test | |
run: ./mvnw test | |
- name: Package | |
run: ./mvnw package | |
- name: Docker build | |
run: docker build . |