Skip to content

Commit 651564b

Browse files
committed
u
1 parent 7b49f5b commit 651564b

File tree

2 files changed

+9
-7
lines changed

2 files changed

+9
-7
lines changed

.github/workflows/ci.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,6 @@ jobs:
3232
shell: bash
3333
run: |
3434
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3735
3836
- name: Setup pnpm cache
3937
uses: actions/cache@v4

.github/workflows/copilot-setup-steps.yml

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,25 +22,29 @@ jobs:
2222
copilot-setup-steps:
2323
name: Setup Development Environment for Copilot
2424
runs-on: ubuntu-latest
25+
permissions:
26+
contents: read
27+
packages: read
2528
steps:
26-
# Checkout full repo for git history.
2729
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
28-
with:
29-
persist-credentials: false
3030

3131
- name: Setup Node.js
3232
uses: actions/setup-node@v4
3333
with:
34-
node-version: '20'
34+
node-version: 'lts/*'
35+
env:
36+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3537

3638
- name: Setup pnpm
3739
uses: pnpm/action-setup@v4
3840

3941
- name: Install dependencies
4042
run: pnpm install
43+
env:
44+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4145

4246
- name: Run lint
4347
run: pnpm lint
4448

4549
- name: Build project
46-
run: pnpm build
50+
run: pnpm build

0 commit comments

Comments
 (0)