Skip to content

Commit b75572b

Browse files
committed
Build: adding node 24 to CI and CD, updating Stylelint
1 parent 575c57d commit b75572b

File tree

4 files changed

+1488
-1162
lines changed

4 files changed

+1488
-1162
lines changed

.github/workflows/cd.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ jobs:
1717

1818
strategy:
1919
matrix:
20-
node-version: [20.x]
20+
node-version:
21+
- 20
22+
- 24
2123
env:
2224
REPO_GCWEB: GCWeb
2325
REPO_JEKYLL: gcweb-jekyll
@@ -53,20 +55,6 @@ jobs:
5355
echo Ref name: ${{ env.ref_name }}
5456
echo Is tag: ${{ env.is_tags }}
5557
56-
# - name: Cache node modules
57-
# uses: actions/cache@v2
58-
# if: ${{ !env.ACT }}
59-
# env:
60-
# cache-name: cache-node-modules
61-
# with:
62-
# # npm cache files are stored in '~/.npm' on Linux/macOS
63-
# path: ~/.npm
64-
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
65-
# restore-keys: |
66-
# ${{ runner.os }}-build-${{ env.cache-name }}-
67-
# ${{ runner.os }}-build-
68-
# ${{ runner.os }}-
69-
7058
- name: Use Node.js ${{ matrix.node-version }}
7159
uses: actions/setup-node@v6
7260
with:

.github/workflows/ci.yml

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,24 +12,12 @@ jobs:
1212

1313
strategy:
1414
matrix:
15-
node-version: [20.x]
15+
node-version:
16+
- 20
17+
- 24
1618
steps:
1719
- uses: actions/checkout@v6
1820

19-
# - name: Cache node modules
20-
# uses: actions/cache@v2
21-
# if: ${{ !env.ACT }}
22-
# env:
23-
# cache-name: cache-node-modules
24-
# with:
25-
# # npm cache files are stored in '~/.npm' on Linux/macOS
26-
# path: ~/.npm
27-
# key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
28-
# restore-keys: |
29-
# ${{ runner.os }}-build-${{ env.cache-name }}-
30-
# ${{ runner.os }}-build-
31-
# ${{ runner.os }}-
32-
3321
- name: Use Node.js ${{ matrix.node-version }}
3422
uses: actions/setup-node@v6
3523
with:

0 commit comments

Comments
 (0)