Feature/config workflows for building image to ecr and deploy it to k8s #248
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: Code Quality | |
on: | |
push: | |
branches: | |
- develop | |
pull_request: | |
branches: | |
- develop | |
jobs: | |
lint-prettier: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
- name: Install drec-ui | |
run: npm install | |
- name: Run Prettier | |
run: npm run prettier | |
lint-eslint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
- name: Install drec-ui | |
run: npm install | |
- name: Run ESLint (error) | |
run: npm run lint:error | |
- name: Run ESLint (all) | |
run: npm run lint | |
check-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/iron | |
- name: Install drec-ui | |
run: npm install | |
- name: Build drec-origin | |
run: npm run build |