Skip to content

Commit a18ed34

Browse files
committed
Review feedback
1 parent 72a3dc5 commit a18ed34

File tree

6 files changed

+100
-159
lines changed

6 files changed

+100
-159
lines changed

.drone.yml

+3-4
Original file line numberDiff line numberDiff line change
@@ -546,10 +546,9 @@ steps:
546546
- name: test-e2e
547547
image: mcr.microsoft.com/playwright:v1.23.1-focal
548548
commands:
549-
- curl -sL https://go.dev/dl/go1.18.3.linux-amd64.tar.gz -o go1.18.3.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.18.3.linux-amd64.tar.gz
549+
- curl -sLO https://go.dev/dl/go1.18.linux-amd64.tar.gz && tar -C /usr/local -xzf go1.18.linux-amd64.tar.gz
550550
- groupadd --gid 1001 gitea && useradd -m --gid 1001 --uid 1001 gitea
551-
- apt-get update
552-
- apt-get install build-essential --yes
551+
- apt-get -qq update && apt-get -qqy install build-essential
553552
- export TEST_PGSQL_SCHEMA=''
554553
- ./build/test-env-prepare.sh
555554
- su gitea bash -c "export PATH=$PATH:/usr/local/go/bin && timeout -s ABRT 40m make test-e2e-pgsql"
@@ -559,7 +558,7 @@ steps:
559558
USE_REPO_TEST_DIR: 1
560559
NO_DEPS_PLAYWRIGHT: 1
561560
TEST_PGSQL_DBNAME: 'testgitea-e2e'
562-
NPX_FLAGS: '--yes'
561+
DEBIAN_FRONTEND: noninteractive
563562
depends_on: [build-frontend, deps-backend]
564563

565564
---

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ lint: lint-frontend lint-backend
327327

328328
.PHONY: lint-frontend
329329
lint-frontend: node_modules
330-
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js docs/assets/js tests/e2e/*.test.e2e.js
330+
npx eslint --color --max-warnings=0 --ext js,vue web_src/js build *.config.js docs/assets/js tests/e2e/*.test.e2e.js tests/e2e/utils_e2e.js
331331
npx stylelint --color --max-warnings=0 web_src/less
332332
npx spectral lint -q -F hint $(SWAGGER_SPEC)
333333
npx markdownlint docs *.md

package-lock.json

+74-105
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@
4646
"wrap-ansi": "8.0.1"
4747
},
4848
"devDependencies": {
49-
"@stoplight/spectral-cli": "6.5.1",
5049
"@playwright/test": "1.25.1",
50+
"@stoplight/spectral-cli": "6.5.1",
5151
"eslint": "8.22.0",
5252
"eslint-plugin-import": "2.26.0",
5353
"eslint-plugin-jquery": "1.5.1",

0 commit comments

Comments
 (0)