chore: and thats why you use grouping #50
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: Continuous Integration | |
on: | |
push: | |
branches: | |
- sapphire/rewrite-to-sapphire-and-application-commands | |
pull_request: | |
jobs: | |
Linting: | |
name: Linting | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
registry-url: https://registry.yarnpkg.com/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Run ESLint & Prettier | |
run: yarn lint | |
UnitTests: | |
name: Unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
registry-url: https://registry.yarnpkg.com/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Run unit tests | |
run: yarn test | |
Building: | |
name: Build code | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Project | |
uses: actions/checkout@v3 | |
- name: Use Node.js v20 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: yarn | |
registry-url: https://registry.yarnpkg.com/ | |
- name: Install Dependencies | |
run: yarn --immutable | |
- name: Build Code | |
run: yarn build |