Skip to content

Commit 1b92981

Browse files
authored
fix: Github CI selecting the version of Node.js (#139)
* fix: Github CI selecting the version of Node.js * fix: upgrade OpenSumi package version
1 parent 5a5eec2 commit 1b92981

File tree

5 files changed

+48
-40
lines changed

5 files changed

+48
-40
lines changed

.github/workflows/release.yml

+37-29
Original file line numberDiff line numberDiff line change
@@ -14,32 +14,40 @@ jobs:
1414
node_version: [12.x]
1515

1616
steps:
17-
- uses: actions/checkout@v2
18-
19-
- run: npm install
20-
- run: npm run init
21-
22-
- run: |
23-
cd tools/electron
24-
npm i
25-
npm run rebuild-native
26-
npm run link-local
27-
npm run pack
28-
29-
- uses: "marvinpinto/action-automatic-releases@latest"
30-
with:
31-
repo_token: "${{ secrets.GITHUB_TOKEN }}"
32-
prerelease: true
33-
files: |
34-
LICENSE
35-
tools/electron/dist/*.dmg
36-
37-
- name: Release ✅
38-
if: ${{ success() }}
39-
run: |
40-
echo 执行成功
41-
42-
- name: Release 🚨
43-
if: ${{ failure() }}
44-
run: |
45-
echo 执行失败
17+
- uses: actions/checkout@v2
18+
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v1
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
24+
- name: Build
25+
run: |
26+
npm i
27+
npm run init
28+
29+
- name: Package Electron
30+
run: |
31+
cd tools/electron
32+
npm i
33+
npm run rebuild-native
34+
npm run link-local
35+
npm run pack
36+
37+
- uses: "marvinpinto/action-automatic-releases@latest"
38+
with:
39+
repo_token: "${{ secrets.GITHUB_TOKEN }}"
40+
prerelease: true
41+
files: |
42+
LICENSE
43+
tools/electron/dist/*.dmg
44+
45+
- name: Release ✅
46+
if: ${{ success() }}
47+
run: |
48+
echo 执行成功
49+
50+
- name: Release 🚨
51+
if: ${{ failure() }}
52+
run: |
53+
echo 执行失败

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opensumi/ide",
3-
"version": "2.12.0",
3+
"version": "2.13.0",
44
"license": "MIT",
55
"scripts": {
66
"prepare": "husky install",
@@ -155,4 +155,4 @@
155155
"write-pkg": "^4.0.0",
156156
"yauzl": "^2.10.0"
157157
}
158-
}
158+
}

packages/components/src/icon/iconfont/iconfont.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
<h2>
8888
OpenSumi built-in icon list
8989
</h2>
90-
<p>OpenSumi v2.12.0</p>
90+
<p>OpenSumi v2.13.0</p>
9191
<p>//at.alicdn.com/t/font_1432262_10kox0x8teb.css</p>
9292

9393
<div>click to copy icon name</div>

packages/types/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@opensumi/sumi",
3-
"version": "2.12.0",
3+
"version": "2.13.0",
44
"typings": "index.d.ts",
55
"license": "MIT",
66
"repository": {
@@ -12,8 +12,8 @@
1212
"build": "ts-node ./build"
1313
},
1414
"dependencies": {
15-
"@opensumi/ide-components": "2.12.0",
15+
"@opensumi/ide-components": "2.13.0",
1616
"@types/react": "^16.9.33",
1717
"vscode-uri": "^3.0.2"
1818
}
19-
}
19+
}

tools/template/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "template-name",
3-
"version": "2.12.0",
3+
"version": "2.13.0",
44
"files": [
55
"lib"
66
],
@@ -16,11 +16,11 @@
1616
"url": "[email protected]:opensumi/core.git"
1717
},
1818
"dependencies": {
19-
"@opensumi/ide-core-common": "^2.12.0",
20-
"@opensumi/ide-core-node": "^2.12.0"
19+
"@opensumi/ide-core-common": "^2.13.0",
20+
"@opensumi/ide-core-node": "^2.13.0"
2121
},
2222
"devDependencies": {
23-
"@opensumi/ide-core-browser": "^2.12.0",
23+
"@opensumi/ide-core-browser": "^2.13.0",
2424
"@opensumi/ide-dev-tool": "^1.3.1"
2525
}
26-
}
26+
}

0 commit comments

Comments
 (0)