Skip to content

Commit f1c05a5

Browse files
authored
test: enhanced test cases to prepare for CSS declaration-level processing (#77)
1 parent 5eeb305 commit f1c05a5

File tree

2 files changed

+143
-131
lines changed

2 files changed

+143
-131
lines changed

.github/workflows/nodejs.yml

+11-7
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
strategy:
2424
matrix:
2525
os: [ubuntu-latest]
26-
node-version: [lts/*]
26+
node-version: ["lts/*"]
2727

2828
runs-on: ${{ matrix.os }}
2929

@@ -32,15 +32,17 @@ jobs:
3232
cancel-in-progress: true
3333

3434
steps:
35-
- uses: actions/checkout@v3
35+
- uses: actions/checkout@v4
3636
with:
3737
fetch-depth: 0
3838

3939
- name: Use Node.js ${{ matrix.node-version }}
40-
uses: actions/setup-node@v3
40+
uses: actions/setup-node@v4
4141
with:
4242
node-version: ${{ matrix.node-version }}
43+
architecture: "x64"
4344
cache: "yarn"
45+
cache-dependency-path: "yarn.lock"
4446

4547
- name: Install dependencies
4648
run: yarn --frozen-lockfile
@@ -54,7 +56,7 @@ jobs:
5456
strategy:
5557
matrix:
5658
os: [ubuntu-latest, windows-latest, macos-latest]
57-
node-version: [10.x, 12.x, 14.x, 16.x, 18.x, 20.x]
59+
node-version: ["10", "12", "14", "16", "18", "20"]
5860
webpack-version: [latest]
5961

6062
runs-on: ${{ matrix.os }}
@@ -68,13 +70,15 @@ jobs:
6870
if: matrix.os == 'windows-latest'
6971
run: git config --global core.autocrlf input
7072

71-
- uses: actions/checkout@v3
73+
- uses: actions/checkout@v4
7274

7375
- name: Use Node.js ${{ matrix.node-version }}
74-
uses: actions/setup-node@v3
76+
uses: actions/setup-node@v4
7577
with:
76-
node-version: ${{ matrix.node-version }}
78+
node-version: "${{ matrix.node-version }}"
79+
architecture: "x64"
7780
cache: "yarn"
81+
cache-dependency-path: "yarn.lock"
7882

7983
- name: Install dependencies
8084
run: yarn --frozen-lockfile

0 commit comments

Comments
 (0)