Skip to content
Draft
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
19 changes: 10 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,34 +15,35 @@ jobs:

steps:
- uses: actions/checkout@v5
- run: corepack enable
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v5
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm ci
- run: npm run lint
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm install --frozen-lockfile
- run: pnpm lint

- name: Build with Netlify badge
run: npm run build-serial
run: pnpm build-serial
env:
VITE_SHOW_NETLIFY_BADGE: true
NODE_OPTIONS: --max_old_space_size=4096

- name: Build
run: npm run build-serial
run: pnpm build-serial
env:
NODE_OPTIONS: --max_old_space_size=4096

# Docusaurus doesn't support Node 14. These tasks can be removed once Node 14 is EOL (May 2023)
- name: Build with Netlify badge (no docs)
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
run: pnpm nx run-many --target=build --exclude=@rjsf/docs --parallel=false
env:
VITE_SHOW_NETLIFY_BADGE: true
NODE_OPTIONS: --max_old_space_size=4096
- name: Build (no docs)
run: npx nx run-many --target=build --exclude=@rjsf/docs --parallel=false
run: pnpm nx run-many --target=build --exclude=@rjsf/docs --parallel=false
env:
NODE_OPTIONS: --max_old_space_size=4096

Expand All @@ -56,7 +57,7 @@ jobs:
with:
name: docs
path: packages/docs/build
- run: npm test
- run: pnpm test
deploy_playground_and_docs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main'
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,19 +9,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- run: corepack enable
- name: Use Node.js 22.x
uses: actions/setup-node@v5
with:
node-version: 22.x
cache: 'npm'
cache-dependency-path: 'package-lock.json'
- run: npm i -g npm@9
- run: npm ci
- run: npm run build-serial
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'
- run: pnpm install --frozen-lockfile
- run: pnpm build-serial
env:
NODE_OPTIONS: --max_old_space_size=4096
- run: npm test
- run: npm run lint
- run: pnpm test
- run: pnpm lint
- run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -38,6 +38,6 @@ jobs:

echo "NPM_TAG=${NPM_TAG_VALUE}" >> $GITHUB_ENV
echo "Determined NPM_TAG: ${NPM_TAG_VALUE}"
- run: npx nx release publish --tag=$NPM_TAG
- run: pnpm nx release publish --tag=$NPM_TAG
- if: always()
run: rm .npmrc
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Hopefully this disables husky on github CI
[ -n "$CI" ] && exit 0
npm run pre-commit:husky
pnpm pre-commit:husky
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,12 @@ it according to semantic versioning. For example, if your PR adds a breaking cha
should change the heading of the (upcoming) version to include a major version bump.

-->
# 6.0.2

## Dev / docs / playground

- Switch to pnpm for package management

# 6.0.1

## Dev / docs / playground
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[build]
base = ""
publish = "packages/playground/dist"
command = "npm run build-serial"
command = "pnpm build-serial"
# Ignore dependabot PRs for deploy previews
ignore = "./netlify-ignore.sh"

Expand Down
Loading
Loading