Skip to content

Commit 3251d3d

Browse files
committed
Upgrade dependencies and cache yarn
1 parent cb1b6eb commit 3251d3d

2 files changed

Lines changed: 453 additions & 7 deletions

File tree

.github/workflows/manage-issue-header.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,25 @@ jobs:
2727
private_key: ${{ secrets.LE_BOT_PRIVATE_KEY }}
2828

2929
- name: Checkout .github repository
30-
uses: actions/checkout@v3
30+
uses: actions/checkout@v4
3131
with:
3232
repository: MisRob/.github
3333
ref: issue-header-action
3434
token: ${{ steps.generate-token.outputs.token }}
35-
35+
3636
- name: Setup Node.js
37-
uses: actions/setup-node@v3
37+
uses: actions/setup-node@v4
3838
with:
39-
node-version: '16'
39+
node-version: 20
40+
cache: 'yarn'
4041

4142
- name: Install dependencies
42-
run: npm install
43+
run: yarn install --frozen-lockfile
4344

4445
- name: Run script
45-
uses: actions/github-script@v6
46+
uses: actions/github-script@v7
4647
with:
4748
github-token: ${{ steps.generate-token.outputs.token }}
4849
script: |
4950
const script = require('./scripts/manage-issue-header.js');
50-
return await script({github, context, core});
51+
await script({github, context, core});

0 commit comments

Comments
 (0)