File tree 3 files changed +1
-19
lines changed
.github/actions/setup-node 3 files changed +1
-19
lines changed Original file line number Diff line number Diff line change 13
13
- name : Install node_modules
14
14
shell : bash
15
15
run : ./scripts/yarn_install.sh
16
- - name : Install depcheck
17
- shell : bash
18
- run : npm install -g depcheck
Original file line number Diff line number Diff line change @@ -408,27 +408,12 @@ lint: lint/shellcheck lint/go lint/ts lint/helm
408
408
lint/ts :
409
409
cd site
410
410
yarn && yarn lint
411
- depcheck || true
412
- if [ -f unused.json ]; then
413
- echo " Unused dependencies found:"
414
- cat unused.json
415
- echo " Please review and remove these dependencies manually."
416
- exit 1
417
- fi
418
411
.PHONY : lint/ts
419
412
420
413
lint/go :
421
414
./scripts/check_enterprise_imports.sh
422
415
go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.2
423
416
golangci-lint run
424
- go mod tidy
425
- git diff --exit-code -- go.mod go.sum
426
- if [ $? -ne 0 ]; then
427
- echo " Unused Go dependencies found:"
428
- git diff go.mod go.sum
429
- echo " Please review and remove these dependencies manually."
430
- exit 1
431
- fi
432
417
.PHONY : lint/go
433
418
434
419
# Use shfmt to determine the shell files, takes editorconfig into consideration.
Original file line number Diff line number Diff line change @@ -191,7 +191,7 @@ RUN apt-get update && \
191
191
google-chrome-stable microsoft-edge-beta && \
192
192
# Pre-install system dependencies that Playwright needs. npx doesn't work here
193
193
# for some reason. See https://github.com/microsoft/playwright-cli/issues/136
194
- npm i -g playwright@1.19.1 && playwright install-deps depcheck
194
+ npm i -g playwright@1.19.1 && playwright install-deps
195
195
196
196
# Ensure PostgreSQL binaries are in the users $PATH.
197
197
RUN update-alternatives --install /usr/local/bin/initdb initdb /usr/lib/postgresql/13/bin/initdb 100 && \
You can’t perform that action at this time.
0 commit comments