Skip to content

[version-4-3] docs: restyle the site according to new brand DOC-1587 (#5772) #1122

[version-4-3] docs: restyle the site according to new brand DOC-1587 (#5772)

[version-4-3] docs: restyle the site according to new brand DOC-1587 (#5772) #1122

Workflow file for this run

# This workflow will run Eslint and Test cases on the codebase
# Jest is the default test runner for the project/
name: Eslint and Test cases
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "src/**"
- "plugins/**"
- "utils/**"
concurrency:
group: test-${{ github.ref }}
cancel-in-progress: true
jobs:
run-ci:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
if: ${{ !github.event.pull_request.draft }}
steps:
- run: exit 0
build:
name: Build
needs: [run-ci]
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
steps:
- name: Checkout Repository
uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "npm"
- run: npm ci
- name: Eslint
run: |
npm run lint
- name: Test
run: |
npm run test