File tree 6 files changed +9
-6
lines changed
test/unit/node/test-plugin
6 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ jobs:
147
147
run : echo "::set-output name=version::$(jq -r .version package.json)"
148
148
149
149
- name : Download release artifacts
150
- uses : robinraju/release-downloader@v1.4
150
+ uses : robinraju/release-downloader@v1.5
151
151
with :
152
152
repository : " coder/code-server"
153
153
tag : v${{ steps.version.outputs.version }}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ main() {
28
28
ln -s " ./lib/node" " $RELEASE_PATH /node"
29
29
30
30
pushd " $RELEASE_PATH "
31
- yarn --production --frozen-lockfile
31
+ npm install --unsafe-perm --omit=dev
32
32
popd
33
33
}
34
34
Original file line number Diff line number Diff line change @@ -140,7 +140,10 @@ install_with_yarn_or_npm() {
140
140
echo " yarn.lock file present, running in development mode. use yarn to install code-server!"
141
141
exit 1
142
142
else
143
- npm install --omit=dev
143
+ # HACK: NPM's use of semver doesn't like resolving some peerDependencies that vscode (upstream) brings in the form of pre-releases.
144
+ # The legacy behavior doesn't complain about pre-releases being used, falling back to that for now.
145
+ # See https://github.com//pull/5071
146
+ npm install --unsafe-perm --legacy-peer-deps --omit=dev
144
147
fi
145
148
;;
146
149
* )
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ We recommend installing with `npm` when:
109
109
110
110
Installing code-server with ` npm ` builds native modules on install.
111
111
112
- This process requires C dependencies; see our guide on [ installing with npm] [ ./npm.md ] (./npm.md) for more information.
112
+ This process requires C dependencies; see our guide on [ installing with npm] ( ./npm.md ) for more information.
113
113
114
114
## Standalone releases
115
115
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " code-server" ,
3
3
"license" : " MIT" ,
4
- "version" : " 4.6.1" ,
4
+ "version" : " 4.6.1-1 " ,
5
5
"description" : " Run VS Code on a remote server." ,
6
6
"homepage" : " https://github.com/coder/code-server" ,
7
7
"bugs" : {
Original file line number Diff line number Diff line change 3
3
"name" : " test-plugin" ,
4
4
"version" : " 1.0.0" ,
5
5
"engines" : {
6
- "code-server" : " ^4.0. 1"
6
+ "code-server" : " ^4.6.1- 1"
7
7
},
8
8
"main" : " out/index.js" ,
9
9
"devDependencies" : {
You can’t perform that action at this time.
0 commit comments