-
Notifications
You must be signed in to change notification settings - Fork 406
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'v4' into improvement/support-api-docs
- Loading branch information
Showing
39 changed files
with
7,778 additions
and
3,790 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 | ||
|
@@ -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 |
Oops, something went wrong.