Skip to content

Commit

Permalink
Merge branch 'mvp-2.1.0' into CRDCDH-956
Browse files Browse the repository at this point in the history
  • Loading branch information
amattu2 authored Mar 14, 2024
2 parents 0367de4 + d0f3aca commit d3d4434
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Certify Changes
name: Lint Changes

on:
workflow_dispatch:
Expand All @@ -18,7 +18,7 @@ permissions:

jobs:
certify:
name: Certify Build Changes
name: Lint Changes
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "18.x"
node-version: "20.x"
cache: "npm"

- name: Cache node modules
Expand All @@ -44,8 +44,5 @@ jobs:
- name: Run Typecheck
run: npm run check:ci

- name: Run Jest
run: npm run test:ci

- name: Run Linter
run: npm run lint:ci
45 changes: 45 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Test Changes

on:
workflow_dispatch:
pull_request:
branches: "*"
paths:
- "src/**"
- "public/**"
- "*.json"
- "*.js"
- "*.jsx"
- "*.ts"
- "*.tsx"

permissions:
contents: read

jobs:
certify:
name: Test Changes
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"

- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-modules-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-modules-
- name: Install Dependencies
run: npm install --legacy-peer-deps

- name: Run Jest
run: npm run test:ci

0 comments on commit d3d4434

Please sign in to comment.