Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb7638bb

Browse files
authored
fix: update cn domain (LeetCode-OpenSource#800)
* fix: update cn domain* fix(ci): upgrade node to 14* chore: bump cli
1 parentde1dc41 commitb7638bb

File tree

7 files changed

+2262
-175
lines changed

7 files changed

+2262
-175
lines changed

‎.github/workflows/build.yml

Lines changed: 35 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -2,70 +2,70 @@ name: CI
22

33
on:
44
push:
5-
branches:[master]
5+
branches:[master]
66
pull_request:
7-
branches:[master]
7+
branches:[master]
88

99
jobs:
1010
linux:
1111
name:Linux
1212
runs-on:ubuntu-latest
1313
timeout-minutes:30
1414
steps:
15-
-uses:actions/checkout@v2
15+
-uses:actions/checkout@v2
1616

17-
-name:Setup Node.js environment
18-
uses:actions/setup-node@v2
19-
with:
20-
node-version:12
17+
-name:Setup Node.js environment
18+
uses:actions/setup-node@v2
19+
with:
20+
node-version:14
2121

22-
-name:Install Node.js modules
23-
run:npm install
22+
-name:Install Node.js modules
23+
run:npm install
2424

25-
-name:Lint
26-
run:npm run lint
25+
-name:Lint
26+
run:npm run lint
2727

28-
-name:VSCE Packge
29-
run:npx vsce package
28+
-name:VSCE Packge
29+
run:npx vsce package
3030

3131
windows:
3232
name:Windows
3333
runs-on:windows-latest
3434
timeout-minutes:30
3535
steps:
36-
-uses:actions/checkout@v2
36+
-uses:actions/checkout@v2
3737

38-
-name:Setup Node.js environment
39-
uses:actions/setup-node@v2
40-
with:
41-
node-version:12
38+
-name:Setup Node.js environment
39+
uses:actions/setup-node@v2
40+
with:
41+
node-version:14
4242

43-
-name:Install Node.js modules
44-
run:npm install
43+
-name:Install Node.js modules
44+
run:npm install
4545

46-
-name:Lint
47-
run:npm run lint
46+
-name:Lint
47+
run:npm run lint
4848

49-
-name:VSCE Packge
50-
run:npx vsce package
49+
-name:VSCE Packge
50+
run:npx vsce package
5151

5252
darwin:
5353
name:macOS
5454
runs-on:macos-latest
5555
timeout-minutes:30
5656
steps:
57-
-uses:actions/checkout@v2
57+
-uses:actions/checkout@v2
5858

59-
-name:Setup Node.js environment
60-
uses:actions/setup-node@v2
61-
with:
62-
node-version:12
59+
-name:Setup Node.js environment
60+
uses:actions/setup-node@v2
61+
with:
62+
node-version:14
6363

64-
-name:Install Node.js modules
65-
run:npm install
64+
-name:Install Node.js modules
65+
run:npm install
6666

67-
-name:Lint
68-
run:npm run lint
67+
-name:Lint
68+
run:npm run lint
6969

70-
-name:VSCE Packge
71-
run:npx vsce package
70+
-name:VSCE Packge
71+
run:npx vsce package

‎README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
- English Document |[中文文档](https://github.com/LeetCode-OpenSource/vscode-leetcode/blob/master/docs/README_zh-CN.md)
2424

2525
##❗️ Attention ❗️- Workaround to login to LeetCode endpoint
26-
>Note: If you are using`leetcode-cn.com`, you can just ignore this section.
26+
>Note: If you are using`leetcode.cn`, you can just ignore this section.
2727
2828
Recently we observed that[the extension cannot login to leetcode.com endpoint anymore](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478). The root cause of this issue is that leetcode.com changed its login mechanism and so far there is no ideal way to fix that issue.
2929

@@ -63,7 +63,7 @@ Thanks for [@yihong0618](https://github.com/yihong0618) provided a workaround wh
6363

6464
- The supported endpoints are:
6565
-**leetcode.com**
66-
-**leetcode-cn.com**
66+
-**leetcode.cn**
6767

6868
>Note: The accounts of different endpoints are**not** shared. Please make sure you are using the right endpoint. The extension will use`leetcode.com` by default.
6969

‎docs/README_zh-CN.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
-[English Document](https://github.com/LeetCode-OpenSource/vscode-leetcode#requirements) | 中文文档
2424

2525
##❗️ 注意 ❗️- 无法登录 LeetCode 节点的临时解决办法
26-
>注意:如果使用的是`leetcode-cn.com` 账户,可以跳过此段落。
26+
>注意:如果使用的是`leetcode.cn` 账户,可以跳过此段落。
2727
2828
近期我们发现插件出现了[无法登录 leetcode.com 节点的问题](https://github.com/LeetCode-OpenSource/vscode-leetcode/issues/478)。原因是因为近期 leetcode.com 改变了登录机制,目前我们暂时没有找到解决该问题的完美解决方案。
2929

@@ -64,7 +64,7 @@
6464

6565
- 目前可切换的版本有:
6666
-**leetcode.com**
67-
-**leetcode-cn.com**
67+
-**leetcode.cn**
6868

6969
>注意:两种版本的 LeetCode 账户并**不通用**,请确保当前激活的版本是正确的。插件默认激活的是**英文版**
7070

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp