Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Run code coverage
But name: Run code coverage

on:
push:
Expand All @@ -13,10 +13,11 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- run: USE_LOCAL_BUILD=true npm ci
- run: npm run coverage-report
cache: 'pnpm'
- run: USE_LOCAL_BUILD=true pnpm install
- run: pnpm run coverage-report
9 changes: 5 additions & 4 deletions .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: 'npm'
- run: USE_LOCAL_BUILD=true npm ci
cache: 'pnpm'
- run: USE_LOCAL_BUILD=true pnpm install
- name: Run format
run: npx prettier '**/*.ts' '**/*.mjs' '**/*.mjs' '**/*.json' --check
run: pnpm exec prettier '**/*.ts' '**/*.mjs' '**/*.mjs' '**/*.json' --check
- name: Run linter
run: npm run lint
run: pnpm run lint
9 changes: 5 additions & 4 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,24 +20,25 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22.x'
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm ci
run: pnpm install
- name: Generate pages
id: generate_pages
run: |
GITHUB_EVENT="${{ github.event_name }}"
echo "Generating pages from $GITHUB_EVENT"
if [[ "$GITHUB_EVENT" == 'release' ]]; then
echo "is_release_event=true" >> $GITHUB_OUTPUT
npm run pages-release
pnpm run pages-release
else
echo "is_release_event=false" >> $GITHUB_OUTPUT
npm run pages-main
pnpm run pages-main
fi
- name: Check for documentation changes
id: check_changes
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/test-pack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache: 'pnpm'
cache-dependency-path: |
package-lock.json
sdk-samples/package-lock.json
- run: npm ci
pnpm-lock.yaml
sdk-samples/pnpm-lock.yaml
- run: pnpm install
- run: test/packaging/test_packaging.sh
16 changes: 9 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,21 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: USE_LOCAL_BUILD=true npm ci
- run: npm run build
- run: npm run unit-test
- run: npm run test-server-tests
cache: 'pnpm'
- run: corepack enable pnpm
- run: USE_LOCAL_BUILD=true pnpm install
- run: pnpm run build
- run: pnpm run unit-test
- run: pnpm run test-server-tests
- run: |
cd sdk-samples
npm install
npm run build
pnpm install
NODE_OPTIONS="--max-old-space-size=8192" pnpm run build

api-consistency:
runs-on: ubuntu-latest
Expand Down
Loading
Loading