Skip to content

Commit 734f571

Browse files
committed
Fix module resoltion
1 parent 4b1a89d commit 734f571

File tree

3 files changed

+2099
-2051
lines changed

3 files changed

+2099
-2051
lines changed

.github/workflows/publish-to-github-pages.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
- main
99
jobs:
1010
build_and_deploy_job:
11-
runs-on: ubuntu-latest
11+
runs-on: ubuntu-22.04
1212
env:
1313
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
1414
ALGOLIA_SEARCH_KEY: ${{ secrets.ALGOLIA_SEARCH_KEY }}
@@ -19,17 +19,21 @@ jobs:
1919

2020
# https://github.com/actions/setup-node
2121
- name: Use Node.js version ${{ env.NODE_VERSION }}
22-
uses: actions/setup-node@v2
22+
uses: actions/setup-node@v4
2323
with:
2424
node-version: ${{ env.NODE_VERSION }}
2525

2626
- name: Bypass Open SSL issue
2727
run: |
2828
export NODE_OPTIONS=--openssl-legacy-provider
2929
30-
- uses: enriikke/gatsby-gh-pages-action@v2
30+
- uses: enriikke/gatsby-gh-pages-action@v2.2.0
3131
# https://github.com/enriikke/gatsby-gh-pages-action/releases
3232
# source https://github.com/enriikke/gatsby-gh-pages-action/blob/main/index.ts
33+
# https://github.com/settings/tokens/new
34+
# Access public repositories
35+
# repo
36+
# public_repo
3337
with:
3438
# access-token is a GitHub Personal access token with the "repo" scope
3539
access-token: ${{ secrets.PUBLIC_REPO_ACCESS_TOKEN }}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,8 @@
121121
},
122122
"resolutions": {
123123
"gatsby-react-router-scroll": "3.0.3",
124-
"lodash": "4.17.20"
124+
"lodash": "4.17.20",
125+
"cheerio": "1.0.0-rc.12",
126+
"@loadable/server": "5.15.2"
125127
}
126128
}

0 commit comments

Comments
 (0)