Skip to content

DX: Prettier Integration #25

DX: Prettier Integration

DX: Prettier Integration #25

Workflow file for this run

name: Test Changes
on:
workflow_dispatch:
pull_request:
branches: "*"
paths:
- "src/**"
- "public/**"
- "*.json"
- "*.js"
- "*.jsx"
- "*.ts"
- "*.tsx"
permissions:
contents: read
jobs:
test:
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
- name: Coveralls GitHub Action
uses: coverallsapp/[email protected]