Skip to content

Commit 60714ad

Browse files
author
Corentin Mors
committed
Fix CI release issues
1 parent 90a4e0a commit 60714ad

File tree

4 files changed

+348
-4
lines changed

4 files changed

+348
-4
lines changed

.github/workflows/documentation-deploy.yml

+3
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ on:
55
tags:
66
- 'v*.*.*'
77

8+
permissions:
9+
contents: write
10+
811
jobs:
912
build:
1013
runs-on: ubuntu-latest

.github/workflows/release.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,9 @@ jobs:
2222
runs-on: ${{ matrix.settings.host }}
2323
name: dev build - ${{ matrix.settings.target }} - node@18
2424
steps:
25-
- uses: actions/checkout@v3
25+
- uses: actions/checkout@v4
2626
- name: Use Node.js
27-
uses: actions/setup-node@v3
27+
uses: actions/setup-node@v4
2828
with:
2929
node-version: 18.x
3030

@@ -41,7 +41,7 @@ jobs:
4141
yarn dlx @yao-pkg/pkg@5.11.1 . -t node18-${{ matrix.settings.target }} -o bundle/dcli-${{ matrix.settings.target }}${{ matrix.settings.extension }} -C GZip "--public" "--public-packages" "tslib,thirty-two" "--no-bytecode"
4242
4343
- name: Archive binary artifact
44-
uses: actions/upload-artifact@v3
44+
uses: actions/upload-artifact@v4
4545
with:
4646
name: dcli-${{ matrix.settings.target }}
4747
path: bundle/dcli-${{ matrix.settings.target }}${{ matrix.settings.extension }}

documentation/package.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"nextra": "^2.13.4",
77
"nextra-theme-docs": "^2.13.4",
88
"react": "^18.2.0",
9-
"react-dom": "^18.2.0"
9+
"react-dom": "^18.2.0",
10+
"sharp": "^0.33.3"
1011
}
1112
}

0 commit comments

Comments
 (0)