Skip to content

Commit 0bff92b

Browse files
committed
Security: Pinning dep versions
1 parent acbf7f4 commit 0bff92b

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

.github/workflows/build-push.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ jobs:
3333
needs: deploy-example-site
3434
runs-on: ubuntu-22.04
3535
steps:
36-
- uses: actions/checkout@v5
36+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3737
with:
3838
ref: ${{ github.event.workflow_run.head_branch }}
39-
- uses: actions/setup-node@v5
39+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
4040
with:
4141
node-version: 22
4242
- name: Installing packages
@@ -47,7 +47,7 @@ jobs:
4747
run: |
4848
node performance/lighthouse-script.js
4949
- name: Download the artifact for main
50-
uses: actions/download-artifact@v4
50+
uses: actions/download-artifact@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0
5151
with:
5252
name: lighthouse-reports-main
5353
path: ./main-report
@@ -84,7 +84,7 @@ jobs:
8484
fi
8585
fi
8686
done
87-
- uses: actions/upload-artifact@v4
87+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
8888
if: ${{ !cancelled() }}
8989
with:
9090
name: lighthouse-reports-pr

.github/workflows/lighthouse.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
generate-lighthouse-report:
1414
runs-on: ubuntu-22.04
1515
steps:
16-
- uses: actions/checkout@v5
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1717
with:
1818
ref: ${{ github.event.workflow_run.head_branch }}
19-
- uses: actions/setup-node@v5
19+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
2020
with:
2121
node-version: 18
2222
- name: Installing packages
@@ -36,7 +36,7 @@ jobs:
3636
GITHUB_PR_NUMBER: ${{ env.GITHUB_PR_NUMBER }}
3737
run: |
3838
node performance/lighthouse-script.js
39-
- uses: actions/upload-artifact@v4
39+
- uses: actions/upload-artifact@6f51ac03b9356f520e9adb1b1b7802705f340c2b # v4.5.0
4040
with:
4141
name: lighthouse-reports-main
4242
path: lighthouse-reports/main-report.json

performance/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"private": "true",
55
"devDependencies": {
6-
"lighthouse": "^12.2.2",
7-
"puppeteer": "^24.22.0"
6+
"lighthouse": "12.2.2",
7+
"puppeteer": "24.22.0"
88
}
99
}

0 commit comments

Comments
 (0)