PROD Deploy 2023-09-11 06:40am EST #2262
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: | |
- develop | |
- master | |
push: | |
branches: | |
- master | |
- develop | |
jobs: | |
lint: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15.0' | |
- name: Install modules | |
run: yarn | |
- name: Run ESLint | |
run: yarn lint | |
unit-tests: | |
if: ${{ !github.event.pull_request.draft }} | |
name: unit-tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.15.0' | |
- name: Install modules | |
run: yarn | |
- name: Run Unit Tests | |
run: yarn test:ci | |