Skip to content

Commit 7c8161f

Browse files
authored
Merge pull request #612 from BloomBooks/BL_harden_deps_pnpm
Follow-up on pnpm
2 parents b4193d9 + f3c8591 commit 7c8161f

5 files changed

Lines changed: 6 additions & 231 deletions

File tree

.github/workflows/build-and-deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1818

1919
- name: Install Vite+ (manages Node.js and pnpm)
20-
uses: voidzero-dev/setup-vp@v1
20+
uses: voidzero-dev/setup-vp@2dec1e33f4ab2c6d5bce1b0c4607961bb1a3f7a1 # v1.12.0
2121
with:
2222
version: 0.1.24
2323
node-version-file: .node-version

.github/workflows/lighthouse.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ jobs:
1313
runs-on: ubuntu-latest
1414
if: ${{ github.event_name == 'workflow_dispatch' || (github.event.workflow_run.conclusion == 'success' && github.event.workflow_run.head_branch == 'master') }}
1515
steps:
16-
- uses: actions/checkout@v4
16+
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
1717
- name: Audit root using Lighthouse
18-
uses: treosh/lighthouse-ci-action@v12
18+
uses: treosh/lighthouse-ci-action@3e7e23fb74242897f95c0ba9cabad3d0227b9b18 # 12.6.2
1919
with:
2020
urls: |
2121
https://alpha.bloomlibrary.org
@@ -26,7 +26,7 @@ jobs:
2626
# We have to run this separately with a separate budget file because the redirect causes
2727
# lighthouse to think we are running at the root
2828
- name: Audit /covid19 using Lighthouse
29-
uses: treosh/lighthouse-ci-action@v12
29+
uses: treosh/lighthouse-ci-action@3e7e23fb74242897f95c0ba9cabad3d0227b9b18 # 12.6.2
3030
with:
3131
urls: |
3232
https://alpha.bloomlibrary.org/covid19

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"crowdin-download": "crowdin download sources --config src/translations/crowdin.yml && crowdin download --config src/translations/crowdin.yml",
1818
"lint": "eslint \"src/**/!(*.d).ts{,x}\"",
1919
"prepare": "husky install",
20-
"postinstall": "patch-package && husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks"
20+
"postinstall": "husky install && shx rm -rf .git/hooks && shx ln -s ../.husky .git/hooks"
2121
},
2222
"dependencies": {
2323
"@contentful/rich-text-react-renderer": "15.22.11",
@@ -137,8 +137,6 @@
137137
"jsdom": "25.0.1",
138138
"lint-staged": "10.5.4",
139139
"ncp": "2.0.0",
140-
"patch-package": "6.4.7",
141-
"postinstall-postinstall": "2.1.0",
142140
"prettier": "2.2.1",
143141
"pretty-quick": "3.1.0",
144142
"react-select": "3.2.0",

0 commit comments

Comments
 (0)