Skip to content

Commit 660b608

Browse files
authored
Merge branch 'main' into issue-4355
2 parents f2889a4 + 94b2774 commit 660b608

File tree

7 files changed

+425
-527
lines changed

7 files changed

+425
-527
lines changed

.github/workflows/ci.yaml

+3-1
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,9 @@ jobs:
404404
run: yarn --frozen-lockfile
405405

406406
- name: Install Playwright OS dependencies
407-
run: ./test/node_modules/.bin/playwright install-deps
407+
run: |
408+
./test/node_modules/.bin/playwright install-deps
409+
./test/node_modules/.bin/playwright install
408410
409411
- name: Run end-to-end tests
410412
run: yarn test:e2e

ci/dev/postinstall.sh

+15-14
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,28 @@ main() {
66

77
echo "Installing code-server test dependencies..."
88

9+
local args=(install)
10+
if [[ ${CI-} ]]; then
11+
args+=(--frozen-lockfile)
12+
fi
13+
914
cd test
10-
yarn install
15+
yarn "${args[@]}"
1116
cd ..
1217

1318
cd vendor
1419
echo "Installing vendor dependencies..."
1520

16-
# * We install in 'modules' instead of 'node_modules' because VS Code's extensions
17-
# use a webpack config which cannot differentiate between its own node_modules
18-
# and itself being in a directory with the same name.
19-
#
20-
# * We ignore scripts because NPM/Yarn's default behavior is to assume that
21-
# devDependencies are not needed, and that even git repo based packages are
22-
# assumed to be compiled. Because the default behavior for VS Code's `postinstall`
23-
# assumes we're also compiled, this needs to be ignored.
21+
# We install in 'modules' instead of 'node_modules' because VS Code's
22+
# extensions use a webpack config which cannot differentiate between its own
23+
# node_modules and itself being in a directory with the same name.
24+
args+=(--modules-folder modules)
2425

25-
local args=(install --modules-folder modules --ignore-scripts)
26-
27-
if [[ ${CI-} ]]; then
28-
args+=("--frozen-lockfile")
29-
fi
26+
# We ignore scripts because NPM/Yarn's default behavior is to assume that
27+
# devDependencies are not needed, and that even git repo based packages are
28+
# assumed to be compiled. Because the default behavior for VS Code's
29+
# `postinstall` assumes we're also compiled, this needs to be ignored.
30+
args+=(--ignore-scripts)
3031

3132
yarn "${args[@]}"
3233

ci/helm-chart/values.yaml

-12
Original file line numberDiff line numberDiff line change
@@ -28,14 +28,6 @@ podAnnotations: {}
2828
podSecurityContext: {}
2929
# fsGroup: 2000
3030

31-
securityContext: {}
32-
# capabilities:
33-
# drop:
34-
# - ALL
35-
# readOnlyRootFilesystem: true
36-
# runAsNonRoot: true
37-
# runAsUser: 1000
38-
3931
service:
4032
type: ClusterIP
4133
port: 8080
@@ -127,10 +119,6 @@ persistence:
127119
# existingClaim: ""
128120
# hostPath: /data
129121

130-
serviceAccount:
131-
create: true
132-
name:
133-
134122
## Enable an Specify container in extraContainers.
135123
## This is meant to allow adding code-server dependencies, like docker-dind.
136124
extraContainers: |

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
"proxy-agent": "^5.0.0",
9595
"proxy-from-env": "^1.1.0",
9696
"qs": "6.10.1",
97-
"rotating-file-stream": "^2.1.1",
97+
"rotating-file-stream": "^3.0.0",
9898
"safe-buffer": "^5.1.1",
9999
"safe-compare": "^1.1.4",
100100
"semver": "^7.1.3",

test/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"license": "MIT",
33
"#": "We must put jest in a sub-directory otherwise VS Code somehow picks up the types and generates conflicts with mocha.",
44
"devDependencies": {
5-
"@playwright/test": "^1.12.1",
5+
"@playwright/test": "^1.16.3",
66
"@types/jest": "^27.0.2",
77
"@types/jsdom": "^16.2.13",
88
"@types/node-fetch": "^2.5.8",
@@ -13,7 +13,7 @@
1313
"jest-fetch-mock": "^3.0.3",
1414
"jsdom": "^16.4.0",
1515
"node-fetch": "^2.6.1",
16-
"playwright": "^1.12.1",
16+
"playwright": "^1.16.3",
1717
"supertest": "^6.1.6",
1818
"ts-jest": "^27.0.7",
1919
"wtfnode": "^0.9.1"

0 commit comments

Comments
 (0)