Merge pull request #13 from canserkanuren/main #29
Workflow file for this run
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: | |
- '*' | |
- '*/*' | |
- '**' | |
- '!main' | |
jobs: | |
main: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: nrwl/nx-set-shas@v3 | |
- name: Install deps | |
run: npm ci | |
- name: Lint affected | |
run: npx nx affected -t lint | |
- name: Test affected | |
run: npm run test:coverage | |
- name: Report coverage | |
uses: coverallsapp/github-action@v2 | |
- name: Build affected | |
run: npx nx affected -t build |