mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-19 04:53:30 +01:00
ci: Update actions (#9424)
This commit is contained in:
2
.github/workflows/issue-triage.yml
vendored
2
.github/workflows/issue-triage.yml
vendored
@@ -6,7 +6,7 @@ jobs:
|
|||||||
issue-triage:
|
issue-triage:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: github/issue-labeler@v2.5
|
- uses: github/issue-labeler@v3
|
||||||
with:
|
with:
|
||||||
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
repo-token: '${{ secrets.GITHUB_TOKEN }}'
|
||||||
configuration-path: .github/issue-labeler.yml
|
configuration-path: .github/issue-labeler.yml
|
||||||
|
|||||||
4
.github/workflows/lighthouse.yml
vendored
4
.github/workflows/lighthouse.yml
vendored
@@ -10,7 +10,7 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Get Vercel preview URL
|
- name: Get Vercel preview URL
|
||||||
id: get_preview_url
|
id: get_preview_url
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const comment = context.payload.comment;
|
const comment = context.payload.comment;
|
||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
- name: Format lighthouse score
|
- name: Format lighthouse score
|
||||||
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
|
if: ${{ steps.get_preview_url.outputs.vercel_preview_url != '' }}
|
||||||
id: format_lighthouse_score
|
id: format_lighthouse_score
|
||||||
uses: actions/github-script@v3
|
uses: actions/github-script@v6
|
||||||
with:
|
with:
|
||||||
script: |
|
script: |
|
||||||
const result = ${{ steps.lighthouse_audit.outputs.manifest }}[0].summary
|
const result = ${{ steps.lighthouse_audit.outputs.manifest }}[0].summary
|
||||||
|
|||||||
Reference in New Issue
Block a user