browsertrix/.github/workflows
Emma Segal-Grossman 99dd9b4acb
Remove non-prod & optional dependencies when building frontend in ci (#1455)
Fixes #1454 

## Motivation

We've had a number of cases recently where a build dependency is added
to `devDependencies`, the PR passes the frontend build check
(`frontend-build-check.yaml`) in the branch, and then fails the cluster
run (`k3d-ci.yaml`) in `main` because the frontend build check installs
all dependencies, whereas the cluster run uses the frontend Dockerfile,
which skips everything but prod dependencies.

## Changes

This runs an additional step in the frontend build check, after running
unit tests and the l10n build but before doing the build, that re-runs
`yarn` with the same arguments as are in the frontend Dockerfile,
installing just prod dependencies.

This results in slightly longer frontend build check runtimes, but
should save us some wasted time fixing broken `main`.
2024-01-10 11:46:17 -08:00
..
ansible-lint.yaml Move DO ansible playbook to new format (#1159) 2023-09-27 22:36:34 -07:00
deploy-dev.yaml Optimize Frontend Image Build on CI (#1057) 2023-08-09 12:06:20 -07:00
docs-publish.yaml
frontend-build-check.yaml Remove non-prod & optional dependencies when building frontend in ci (#1455) 2024-01-10 11:46:17 -08:00
k3d-ci.yaml avoid exception if 'errors' key doesn't exist (#1301) 2023-10-19 14:39:54 -07:00
k3d-log-ci.yaml
k3d-nightly-ci.yaml Background Jobs Work (#1321) 2023-11-02 13:02:17 -07:00
lint.yaml Replace partial_complete -> stopped_by_user or stopped_quota_reached + operator edge cases (#1368) 2023-11-14 11:17:16 -08:00
microk8s-ci.yaml test quickfix: microk8s crawls were not running due to exceeding CI resource capacity 2023-10-10 23:29:10 -07:00
password-check.yaml feat: add pre-commit to check we don't have real passwords in yml files (#990) 2023-07-26 13:29:37 -07:00
project-assign-issue.yml
publish-helm-chart.yaml quick fix: fix typo in publish-helm-chart specifying version 2023-09-05 15:51:10 -04:00
release.yaml Optimize Frontend Image Build on CI (#1057) 2023-08-09 12:06:20 -07:00
ui-tests-playwright.yml