Skip to content

Commit

Permalink
fix prettier job, add linter job, remove other unnecessary jobs (#563)
Browse files Browse the repository at this point in the history
* fix prettier job, add linter job, remove other unecesary jobs

* setup workflow dependency to save resouces

* test workflow deps

* update workflow deps
  • Loading branch information
sebastianscatularo committed Dec 1, 2023
1 parent 66094a3 commit 80e0980
Show file tree
Hide file tree
Showing 20 changed files with 531 additions and 1,044 deletions.
328 changes: 0 additions & 328 deletions .github/workflows/build-non-prod.yml

This file was deleted.

35 changes: 35 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
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
Loading

0 comments on commit 80e0980

Please sign in to comment.