Skip to content
Merged
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
27 changes: 17 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@ jobs:

steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 24
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn lint
cache: pnpm
- run: pnpm install
- run: pnpm lint

test:
name: "Tests - Node ${{ matrix.node-version }}"
Expand All @@ -35,12 +37,13 @@ jobs:

steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn lint
- run: yarn test
cache: pnpm
- run: pnpm install
- run: pnpm test

legacy-test:
name: "Legacy Tests - Node ${{ matrix.node-version }} - Broccoli ${{ matrix.broccoli-version }}"
Expand All @@ -54,12 +57,14 @@ jobs:

steps:
- uses: actions/checkout@v6
# prevent yarn from complaining about the packageManager key in the package.json
- run: cat package.json | jq "del(.packageManager)" | tee package.json
- uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn add broccoli@${{matrix.broccoli-version}} --ignore-engines
- run: yarn lint
- run: yarn test

windows-test:
Expand All @@ -73,9 +78,11 @@ jobs:

steps:
- uses: actions/checkout@v6
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version: 16
- run: yarn install --frozen-lockfile --ignore-engines
- run: yarn add broccoli@${{matrix.broccoli-version}} --ignore-engines
- run: yarn test
node-version: 20
cache: pnpm
- run: pnpm install
- run: pnpm install broccoli@${{matrix.broccoli-version}}
- run: pnpm test
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
"build": "tsc",
"clean": "rm -rf dist",
"lint": "eslint .",
"prepare": "yarn build",
"test": "yarn build && mocha",
"prepare": "tsc",
"test": "tsc && mocha",
"watch": "tsc --watch"
},
"dependencies": {
Expand All @@ -35,6 +35,7 @@
},
"devDependencies": {
"@types/chai": "^4.2.15",
"@types/glob": "^8.0.0",
"@types/mocha": "^8.2.1",
"@types/node": "^14.14.33",
"@types/rimraf": "^3.0.0",
Expand Down Expand Up @@ -81,5 +82,5 @@
"resolutions": {
"quick-temp": "0.1.8"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "pnpm@10.30.1+sha256.bc8bb877378eab6a8a83114eeb6a31ef88528db4ab5570299baba8fa54da2375"
}
Loading