Skip to content

Commit

Permalink
Merge branch 'v4' into improvement/support-api-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
nandan-bhat committed Feb 11, 2025
2 parents fa80f54 + d26551b commit 2a769e8
Show file tree
Hide file tree
Showing 39 changed files with 7,778 additions and 3,790 deletions.
38 changes: 34 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ on:
merge_group:
workflow_dispatch:
pull_request:
branches: [ main, v4 ]
branches: [main, v4]
push:
branches: [ main, v4 ]
branches: [main, v4]

permissions:
contents: read
Expand Down Expand Up @@ -37,7 +37,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'pnpm'
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
cache: 'pnpm'
cache: "pnpm"

- name: Restore build artifacts
uses: actions/cache/restore@v4
Expand All @@ -87,3 +87,33 @@ jobs:
run: pnpm test:coverage

- uses: codecov/codecov-action@13ce06bfc6bbe3ecf90edbbf1bc32fe5978ca1d3 # [email protected]

lint:
needs: build # Require build to complete before running tests

name: Lint Code
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 10

- name: Setup Node.js with pnpm caching
uses: actions/setup-node@v4
with:
node-version: 22
cache: "pnpm"

- name: Restore build artifacts
uses: actions/cache/restore@v4
with:
path: .
key: ${{ env.CACHE_KEY }}

- name: Run Lint
run: pnpm run lint
Loading

0 comments on commit 2a769e8

Please sign in to comment.