Skip to content

Commit

Permalink
chore(ci): also run on node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
sverweij committed May 2, 2024
1 parent 712c5be commit add4856
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
workflow_dispatch:

env:
NODE_LATEST: 21.x
NODE_LATEST: 22.x
PLATFORM: ubuntu-latest
CI: true
# the LANG (used by the Intl API, which we use for some of the number
Expand All @@ -27,7 +27,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 21.x]
node-version: [18.x, 22.x]
platform: [ubuntu-latest]
runs-on: ${{matrix.platform}}
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
registry-url: https://registry.npmjs.org
- run: npm clean-install
- run: npm publish --provenance --access public --tag beta
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 21.x
node-version: 22.x
registry-url: https://registry.npmjs.org
- run: npm clean-install
- run: npm publish --provenance --access public
Expand Down
8 changes: 4 additions & 4 deletions test/config-utl/extract-depcruise-config/index.spec.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ describe("[I] config-utl/extract-depcruise-config", () => {
const fixture = await import(
"./__mocks__/rules.sub-not-allowed-error.json",
{
assert: { type: "json" },
with: { type: "json" },
}
);
deepEqual(
Expand All @@ -22,7 +22,7 @@ describe("[I] config-utl/extract-depcruise-config", () => {

it("a rule set with an extends returns that rule set, extending the mentioned base", async () => {
const mergedFixture = await import("./__mocks__/extends/merged.json", {
assert: { type: "json" },
with: { type: "json" },
});
deepEqual(
await loadConfig(join(mockDirectory, "extends/extending.json")),
Expand Down Expand Up @@ -51,7 +51,7 @@ describe("[I] config-utl/extract-depcruise-config", () => {
const mergedArrayOneFixture = await import(
"./__mocks__/extends/merged-array-1.json",
{
assert: { type: "json" },
with: { type: "json" },
}
);
deepEqual(
Expand All @@ -66,7 +66,7 @@ describe("[I] config-utl/extract-depcruise-config", () => {
const mergedArrayTwoFixture = await import(
"./__mocks__/extends/merged-array-2.json",
{
assert: { type: "json" },
with: { type: "json" },
}
);
deepEqual(
Expand Down

0 comments on commit add4856

Please sign in to comment.