Merge pull request #34 from alexiszamanidis/feat-auto-push #16
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: | |
push: | |
branches: | |
- "**" | |
pull_request: | |
branches: | |
- "**" | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Set Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn | |
- name: Run linting and style checks | |
run: yarn lint | |
- name: Run tests | |
run: yarn jest-test -- --watchAll=false --coverage --coverageReporters json-summary | |
- name: Compile code | |
run: yarn compile | |
- name: Jest Coverage Comment | |
uses: MishaKav/jest-coverage-comment@main |