Skip to content

Commit 3abf399

Browse files
committed
ci(gh-actions): update node version in gh actions
1 parent 45a13b9 commit 3abf399

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

.github/workflows/pr-check.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ${{ matrix.os }}
1010
strategy:
1111
matrix:
12-
node-version: [20.x]
12+
node-version: [22.x]
1313
os: [ubuntu-latest]
1414
steps:
1515
- name: Checkout code 📚

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
runs-on: ${{ matrix.os }}
1111
strategy:
1212
matrix:
13-
node-version: [20.x]
13+
node-version: [22.x]
1414
os: [ubuntu-latest]
1515
steps:
1616
- name: Checkout code 📚

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,14 +27,14 @@ const baseConfig = {
2727
};
2828

2929
/** @type {Array<string>} */
30-
const plugins = ["prettier-plugin-packagejson", !hasTailwindcss ? "prettier-plugin-tailwindcss" : null].filter(Boolean);
30+
const plugins = ["prettier-plugin-packagejson", hasTailwindcss ? "prettier-plugin-tailwindcss" : null].filter(Boolean);
3131

3232
/** @type {import('prettier-plugin-tailwindcss').PluginOptions} */
3333
const tailwindcssConfig = {
3434
tailwindAttributes: ["class", "className", "ngClass", ".*[cC]lassName"],
3535
tailwindFunctions: ["classNames", "clsx", "cn"]
3636
};
3737

38-
export const config = { ...baseConfig, plugins, ...(!hasTailwindcss ? tailwindcssConfig : {}) };
38+
export const config = { ...baseConfig, plugins, ...(hasTailwindcss ? tailwindcssConfig : {}) };
3939

4040
export default config;

0 commit comments

Comments
 (0)