Skip to content

Commit 7b49f5b

Browse files
committed
u
1 parent 816f028 commit 7b49f5b

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,22 @@ on:
88

99
jobs:
1010
test-lint-build:
11+
permissions:
12+
contents: read
13+
packages: read
14+
1115
runs-on: ubuntu-latest
1216

1317
steps:
1418
- name: Checkout code
15-
uses: actions/checkout@v4
19+
uses: actions/checkout@v5
1620

1721
- name: Setup Node.js LTS
1822
uses: actions/setup-node@v4
1923
with:
2024
node-version: 'lts/*'
25+
env:
26+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2127

2228
- name: Setup pnpm
2329
uses: pnpm/action-setup@v4
@@ -26,6 +32,8 @@ jobs:
2632
shell: bash
2733
run: |
2834
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2937

3038
- name: Setup pnpm cache
3139
uses: actions/cache@v4

0 commit comments

Comments
 (0)