mirror of
https://github.com/outline/outline.git
synced 2026-06-13 11:25:03 +03:00
7cbd06541c
* Initial plan * Upgrade Yarn to 4.11.0 with node-modules linker and security settings Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * Restore rolldown resolution to package.json resolutions Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * Enable Corepack in CI workflow for Yarn 4.11.0 support Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> * test * module resolution --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com> Co-authored-by: Tom Moor <tom@getoutline.com>
29 lines
625 B
Makefile
29 lines
625 B
Makefile
up:
|
|
docker compose up -d redis postgres
|
|
yarn install-local-ssl
|
|
yarn install --immutable
|
|
yarn dev:watch
|
|
|
|
build:
|
|
docker compose build --pull outline
|
|
|
|
test:
|
|
docker compose up -d postgres
|
|
NODE_ENV=test yarn sequelize db:drop
|
|
NODE_ENV=test yarn sequelize db:create
|
|
NODE_ENV=test yarn sequelize db:migrate
|
|
yarn test
|
|
|
|
watch:
|
|
docker compose up -d redis postgres
|
|
NODE_ENV=test yarn sequelize db:drop
|
|
NODE_ENV=test yarn sequelize db:create
|
|
NODE_ENV=test yarn sequelize db:migrate
|
|
yarn test:watch
|
|
|
|
destroy:
|
|
docker compose stop
|
|
docker compose rm -f
|
|
|
|
.PHONY: up build destroy test watch # let's go to reserve rules names
|