ci: modernize workflows (node 24, pnpm 11), single workspace lockfile

The per-directory v5.3 lockfiles were stale against the 2.0.0 package.jsons and
unreadable by the workflows' pnpm 5 anyway; the root v9 workspace lockfile is
authoritative. Reformat sources for prettier-plugin-organize-imports v3 and
ignore build artifacts.
This commit is contained in:
coyotte508 2026-08-17 09:55:09 +00:00
commit 0566dcaab3
18 changed files with 46 additions and 14713 deletions

View file

@ -28,7 +28,7 @@ jobs:
node-version: ${{ env.node_version }}
# registry-url is required so npm publish targets the public npm registry
registry-url: 'https://registry.npmjs.org'
- run: npm install -g pnpm@5.17.1
- run: npm install -g pnpm@11
- run: pnpm install
- run: git config --global user.name github-actions
- run: git config --global user.email bot@github.com

View file

@ -17,13 +17,13 @@ jobs:
lint_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '12'
- uses: pnpm/action-setup@v1.2.1
node-version: '24'
- uses: pnpm/action-setup@v4
with:
version: 5.17.1
version: 11
- run: pnpm install
- run: pnpm build
- run: pnpm lint

View file

@ -5,10 +5,12 @@ jobs:
prettier:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: pnpm/action-setup@v1.2.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
version: 5.17.1
node-version: '24'
- uses: pnpm/action-setup@v4
with:
version: 11
- run: pnpm install
- run: pnpm run prettier-check

View file

@ -28,7 +28,7 @@ jobs:
node-version: ${{ env.node_version }}
# registry-url is required so npm publish targets the public npm registry
registry-url: 'https://registry.npmjs.org'
- run: npm install -g pnpm@5.17.1
- run: npm install -g pnpm@11
- run: pnpm install
- run: git config --global user.name github-actions
- run: git config --global user.email bot@github.com

View file

@ -19,13 +19,13 @@ jobs:
test_and_build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '14'
- uses: pnpm/action-setup@v1.2.1
node-version: '24'
- uses: pnpm/action-setup@v4
with:
version: 5.17.1
version: 11
- run: pnpm install
# - run: pnpm lint
# - run: pnpm test