fix(ci): drop --with-deps from playwright install on self-hosted runner (v1.7.2) (#23)

Drop --with-deps from npx playwright install chromium. The peptide-vps runner has OS deps pre-installed; --with-deps invokes apt-get blocked by NoNewPrivileges hardening. Binary-only install verified for ghrunner via SSH.

Agent-Session: smoke-playwright-nodeps-20260617
This commit was merged in pull request #23.
This commit is contained in:
peptiderepo
2026-06-17 11:51:33 +07:00
committed by GitHub
parent 35602d624f
commit e00f777cdb
3 changed files with 10 additions and 3 deletions

View File

@@ -53,7 +53,7 @@ jobs:
run: npm ci
- name: Install Playwright browsers
run: npx playwright install chromium --with-deps
run: npx playwright install chromium
- name: Run smoke tests
env:

View File

@@ -1,6 +1,13 @@
# Changelog
## [1.7.1] - 2026-06-17
## [1.7.2] - 2026-06-17
### Fixed
- **CI**: Drop `--with-deps` from `npx playwright install chromium` in `smoke.yml`.
The `peptide-vps` self-hosted runner has OS-level Playwright deps pre-installed by
root; `--with-deps` invokes `apt-get` which requires `sudo`, blocked by the runner's
`NoNewPrivileges=true` systemd hardening. Binary-only install works without
elevated privileges.## [1.7.1] - 2026-06-17
### Changed
- **CI/CD**: Switch `deploy-staging`, `deploy-production`, and `smoke` jobs from

View File

@@ -1,6 +1,6 @@
{
"name": "peptide-e2e",
"version": "1.7.1",
"version": "1.7.2",
"description": "Playwright smoke tests for peptiderepo.com (staging + production)",
"private": true,
"scripts": {