This commit improves multiple aspects of Docker builds:
- Enable artifact output validation for Dockerfile.
- Correct the path references in Dockerfile for the distribution
directory.
- Add Dockerfile specific indentation rules to `.editorconfig`.
- Use `npm run install-deps` for dependency installation, enhancing
build reliability.
- Add automation script `verify-web-server-status.js` to verify running
web server on given URL.
- Introduce automated build verification for Dockerfile:
- On macOS, install Docker with colima as the container runtime
because default agents do not include Docker and Docker runtime is
not installed due to licensing issues (see actions/runner-images#17).
- On Windows, there's no Linux container support (actions/runner#904,
actions/runner-images#1143), so keep the checks for macOS and Ubuntu
only.
12 lines
216 B
INI
12 lines
216 B
INI
[*.{js,jsx,ts,tsx,vue,sh}]
|
|
indent_style = space
|
|
indent_size = 2
|
|
end_of_line = lf
|
|
trim_trailing_whitespace = true
|
|
insert_final_newline = true
|
|
max_line_length = 100
|
|
|
|
[{Dockerfile}]
|
|
indent_style = space
|
|
indent_size = 4
|