Skip to content

Commit 1e87bc3

Browse files
committed
fix:
1 parent 316a271 commit 1e87bc3

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,18 +10,19 @@ on:
1010
# Allows you to run this workflow manually from the Actions tab
1111
workflow_dispatch:
1212

13-
permissions:
14-
contents: read
1513

1614
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1715
jobs:
1816
test:
17+
permissions:
18+
contents: read
19+
1920
name: Test - ${{ matrix.os }} - Node v${{ matrix.node }})
2021

2122
strategy:
2223
matrix:
2324
os: [ubuntu-latest, windows-latest, macos-latest]
24-
node: [18.x]
25+
node: [20.x]
2526

2627
runs-on: ${{ matrix.os }}
2728

@@ -54,6 +55,8 @@ jobs:
5455
check:
5556
name: Check
5657
runs-on: ubuntu-latest
58+
permissions:
59+
contents: read
5760

5861
steps:
5962
- name: Checkout
@@ -67,7 +70,7 @@ jobs:
6770
- name: Setup Node.js
6871
uses: actions/setup-node@v4
6972
with:
70-
node-version: ${{ matrix.node }}
73+
node-version: 20
7174
cache: "pnpm"
7275

7376
- name: Install Dependencies

0 commit comments

Comments
 (0)