Skip to content

Commit 3869125

Browse files
committed
Update CI config
1 parent dbb53a2 commit 3869125

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

.github/workflows/test.yml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
branches:
55
- main
66
pull_request:
7+
permissions:
8+
contents: read
79
jobs:
810
full:
911
name: Node.js Latest Full
@@ -18,19 +20,18 @@ jobs:
1820
- name: Install Node.js
1921
uses: actions/setup-node@v3
2022
with:
21-
node-version: 18
23+
node-version: 19
2224
cache: pnpm
2325
- name: Install dependencies
2426
run: pnpm install --frozen-lockfile --ignore-scripts
2527
- name: Run tests
2628
run: pnpm test
27-
env:
28-
FORCE_COLOR: 2
2929
short:
3030
runs-on: ubuntu-latest
3131
strategy:
3232
matrix:
3333
node-version:
34+
- 18
3435
- 16
3536
- 14
3637
name: Node.js ${{ matrix.node-version }} Quick
@@ -50,8 +51,6 @@ jobs:
5051
run: pnpm install --frozen-lockfile --ignore-scripts
5152
- name: Run unit tests
5253
run: pnpm unit
53-
env:
54-
FORCE_COLOR: 2
5554
old:
5655
runs-on: ubuntu-latest
5756
strategy:
@@ -76,5 +75,3 @@ jobs:
7675
run: pnpm install --frozen-lockfile --ignore-scripts
7776
- name: Run unit tests
7877
run: pnpm unit
79-
env:
80-
FORCE_COLOR: 2

0 commit comments

Comments
 (0)