Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 754174be0a | |||
| 6e70d4edd1 |
+22
-29
@@ -13,45 +13,38 @@ env:
|
||||
NODE_VERSION: 24.x
|
||||
|
||||
jobs:
|
||||
# Enumerate the workspace packages so the matrix below fans out one job per
|
||||
# package (kept dynamic so new packages are picked up automatically).
|
||||
discover:
|
||||
name: Discover packages
|
||||
runs-on: ubuntu-latest
|
||||
outputs:
|
||||
packages: ${{ steps.list.outputs.packages }}
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- name: Install pnpm
|
||||
uses: pnpm/action-setup@v6
|
||||
with:
|
||||
run_install: false
|
||||
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ env.NODE_VERSION }}
|
||||
cache: pnpm
|
||||
|
||||
- name: Install dependencies
|
||||
run: pnpm install --frozen-lockfile
|
||||
|
||||
- name: List workspace packages
|
||||
id: list
|
||||
run: echo "packages=$(pnpm -r ls --depth -1 --json | jq -c '[.[] | select(.name != "tools") | .name]')" >> "$GITHUB_OUTPUT"
|
||||
|
||||
# One job per package — build (with its workspace deps), lint and test run in
|
||||
# parallel across packages. fail-fast: false so every package is reported.
|
||||
#
|
||||
# The list is static: Gitea's act_runner does not expand a dynamic matrix
|
||||
# built from a previous job's outputs (the strategy is evaluated before the
|
||||
# producing job runs), so `matrix.package` came out empty. When you add a
|
||||
# workspace package, add a line here.
|
||||
check:
|
||||
name: ${{ matrix.package }}
|
||||
needs: discover
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
package: ${{ fromJSON(needs.discover.outputs.packages) }}
|
||||
package:
|
||||
- "@robonen/eslint"
|
||||
- "@robonen/tsconfig"
|
||||
- "@robonen/tsdown"
|
||||
- "@robonen/crdt"
|
||||
- "@robonen/encoding"
|
||||
- "@robonen/fetch"
|
||||
- "@robonen/platform"
|
||||
- "@robonen/stdlib"
|
||||
- "@robonen/docs"
|
||||
- "@robonen/renovate"
|
||||
- "@robonen/primitives"
|
||||
- "@robonen/primitives-playground"
|
||||
- "@robonen/stories"
|
||||
- "@robonen/vue"
|
||||
- "@robonen/writekit"
|
||||
- "@robonen/writekit-playground"
|
||||
steps:
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"eslint-plugin-import-x": "^4.16.2",
|
||||
"eslint-plugin-n": "^18.1.0",
|
||||
"eslint-plugin-regexp": "^3.1.0",
|
||||
"eslint-plugin-unicorn": "^65.0.1",
|
||||
"eslint-plugin-unicorn": "^66.0.0",
|
||||
"eslint-plugin-vue": "^10.9.2",
|
||||
"globals": "^17.6.0",
|
||||
"jiti": "^2.7.0",
|
||||
|
||||
Generated
+16
-8
@@ -96,8 +96,8 @@ importers:
|
||||
specifier: ^3.1.0
|
||||
version: 3.1.0(eslint@10.4.1(jiti@2.7.0))
|
||||
eslint-plugin-unicorn:
|
||||
specifier: ^65.0.1
|
||||
version: 65.0.1(eslint@10.4.1(jiti@2.7.0))
|
||||
specifier: ^66.0.0
|
||||
version: 66.0.0(eslint@10.4.1(jiti@2.7.0))
|
||||
eslint-plugin-vue:
|
||||
specifier: ^10.9.2
|
||||
version: 10.9.2(@stylistic/eslint-plugin@5.10.0(eslint@10.4.1(jiti@2.7.0)))(@typescript-eslint/parser@8.61.0(eslint@10.4.1(jiti@2.7.0))(typescript@6.0.3))(eslint@10.4.1(jiti@2.7.0))(vue-eslint-parser@10.4.1(eslint@10.4.1(jiti@2.7.0)))
|
||||
@@ -5073,11 +5073,11 @@ packages:
|
||||
peerDependencies:
|
||||
eslint: '>=9.38.0'
|
||||
|
||||
eslint-plugin-unicorn@65.0.1:
|
||||
resolution: {integrity: sha512-daCrQrgxOoOz2uMPWB3Y3vvv/5q+ncwICI8IjoebiwtW87CaY4tAN5EEiRXTYVnf7qi1v1BGBdHOSnZLV0rx6A==}
|
||||
engines: {node: ^20.10.0 || >=21.0.0}
|
||||
eslint-plugin-unicorn@66.0.0:
|
||||
resolution: {integrity: sha512-+ywdy8T3foyZ2t3nRBujGa3vfOVMobHIi5iLB0L+fogdVO3EiUJ4BAyIacogWytnweLw3hgT70LQL9KoKTY/kA==}
|
||||
engines: {node: '>=22'}
|
||||
peerDependencies:
|
||||
eslint: '>=9.38.0'
|
||||
eslint: '>=10.4'
|
||||
|
||||
eslint-plugin-vue@10.9.2:
|
||||
resolution: {integrity: sha512-4g7ZP3pYcuqd7Zp0pzUKcos0W+RkjBz4EGdhJ92FcYk6v03Ti/GK5NwjgsjxHK+98eXDbHeK7VtX1az7/8doZA==}
|
||||
@@ -7474,6 +7474,11 @@ packages:
|
||||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
|
||||
semver@7.8.4:
|
||||
resolution: {integrity: sha512-rUCObTnP32Q08R2uuIrt7r9PlEonuTmtuXYcW6s5kjdlj3xbnwe+21yXptAUYcMAABLkYYTtnmzb3w3EDZfueA==}
|
||||
engines: {node: '>=10'}
|
||||
hasBin: true
|
||||
|
||||
send@1.2.1:
|
||||
resolution: {integrity: sha512-1gnZf7DFcoIcajTjTwjwuDjzuz4PPcY2StKPlsGAQ1+YH20IRVrBaXSWmdjowTJ6u8Rc01PoYOGHXfP1mYcZNQ==}
|
||||
engines: {node: '>= 18'}
|
||||
@@ -13189,10 +13194,11 @@ snapshots:
|
||||
regexp-ast-analysis: 0.7.1
|
||||
scslre: 0.3.0
|
||||
|
||||
eslint-plugin-unicorn@65.0.1(eslint@10.4.1(jiti@2.7.0)):
|
||||
eslint-plugin-unicorn@66.0.0(eslint@10.4.1(jiti@2.7.0)):
|
||||
dependencies:
|
||||
'@babel/helper-validator-identifier': 7.29.7
|
||||
'@eslint-community/eslint-utils': 4.9.1(eslint@10.4.1(jiti@2.7.0))
|
||||
browserslist: 4.28.2
|
||||
change-case: 5.4.4
|
||||
ci-info: 4.4.0
|
||||
core-js-compat: 3.49.0
|
||||
@@ -13205,7 +13211,7 @@ snapshots:
|
||||
jsesc: 3.1.0
|
||||
pluralize: 8.0.0
|
||||
regjsparser: 0.13.1
|
||||
semver: 7.8.2
|
||||
semver: 7.8.4
|
||||
strip-indent: 4.1.1
|
||||
|
||||
eslint-plugin-vue@10.9.2(@stylistic/eslint-plugin@5.10.0(eslint@10.4.1(jiti@2.7.0)))(@typescript-eslint/parser@8.61.0(eslint@10.4.1(jiti@2.7.0))(typescript@6.0.3))(eslint@10.4.1(jiti@2.7.0))(vue-eslint-parser@10.4.1(eslint@10.4.1(jiti@2.7.0))):
|
||||
@@ -16440,6 +16446,8 @@ snapshots:
|
||||
|
||||
semver@7.8.2: {}
|
||||
|
||||
semver@7.8.4: {}
|
||||
|
||||
send@1.2.1:
|
||||
dependencies:
|
||||
debug: 4.4.3
|
||||
|
||||
Reference in New Issue
Block a user