Skip to content

Commit

Permalink
fix: Corepack with TypeDoc generation job (#2269)
Browse files Browse the repository at this point in the history
The typedoc CI job failed because of a package manager mismatch that can
be addressed by enabling corepack.

https://github.com/endojs/endo/actions/runs/8975075410/job/24648857762
  • Loading branch information
kriskowal committed May 6, 2024
2 parents 59bfbd0 + ff61dea commit fc518d0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/typedoc-gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- uses: actions/configure-pages@v4
# Without this, setup-node errors on mismatched yarn versions
- run: corepack enable
# Without this the inter-package imports don't resolve
- run: yarn install
# Generate the TypeDoc site
Expand Down
4 changes: 2 additions & 2 deletions packages/ses/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"unpkg": "./dist/ses.umd.js",
"types": "./types.d.ts",
"exports": {
".": {
".": {
"import": {
"types": "./types.d.ts",
"default": "./index.js"
Expand All @@ -45,7 +45,7 @@
"default": "./dist/ses.cjs"
}
},
"./lockdown": {
"./lockdown": {
"import": {
"types": "./types.d.ts",
"default": "./index.js"
Expand Down

0 comments on commit fc518d0

Please sign in to comment.