fix prettier job, add linter job, remove other unnecessary jobs #3
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: Code Standard Checks | |
on: pull_request | |
jobs: | |
linter: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: v18.17.1 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ./apps/connect | |
run: npm ci | |
- name: Run prettier | |
working-directory: ./apps/connect | |
run: npm run lint | |
prettier: | |
runs-on: "ubuntu-latest" | |
steps: | |
- name: Set up Node environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: v18.17.1 | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
working-directory: ./apps/connect | |
run: npm ci | |
- name: Run prettier | |
working-directory: ./apps/connect | |
run: npm run prettier |