mirror of
https://github.com/offen/website.git
synced 2024-11-22 01:00:26 +01:00
install shared packages via npm
This commit is contained in:
parent
f094f138aa
commit
d21de52123
@ -44,9 +44,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/offen
|
path: ~/offen
|
||||||
- run:
|
|
||||||
name: Create `packages` symlink
|
|
||||||
command: ln -s ./../packages ./packages
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: offen-vault-{{ checksum "package.json" }}
|
key: offen-vault-{{ checksum "package.json" }}
|
||||||
- run:
|
- run:
|
||||||
@ -67,9 +64,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/offen
|
path: ~/offen
|
||||||
- run:
|
|
||||||
name: Create `packages` symlink
|
|
||||||
command: ln -s ./../packages ./packages
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: offen-script-{{ checksum "package.json" }}
|
key: offen-script-{{ checksum "package.json" }}
|
||||||
- run:
|
- run:
|
||||||
@ -84,7 +78,7 @@ jobs:
|
|||||||
command: npm test
|
command: npm test
|
||||||
- run:
|
- run:
|
||||||
name: Bundle
|
name: Bundle
|
||||||
command: npm run build
|
command: NODE_ENV=production npm run build
|
||||||
|
|
||||||
auditorium:
|
auditorium:
|
||||||
docker:
|
docker:
|
||||||
@ -93,9 +87,6 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- checkout:
|
- checkout:
|
||||||
path: ~/offen
|
path: ~/offen
|
||||||
- run:
|
|
||||||
name: Create `packages` symlink
|
|
||||||
command: ln -s ./../packages ./packages
|
|
||||||
- restore_cache:
|
- restore_cache:
|
||||||
key: offen-auditorium-{{ checksum "package.json" }}
|
key: offen-auditorium-{{ checksum "package.json" }}
|
||||||
- run:
|
- run:
|
||||||
|
@ -10,6 +10,6 @@ insert_final_newline = true
|
|||||||
trim_trailing_whitespace = true
|
trim_trailing_whitespace = true
|
||||||
indent_style = tab
|
indent_style = tab
|
||||||
|
|
||||||
[{*.js,*.yml,*.md,Gopkg.toml}]
|
[{*.js,*.yml,*.md,Gopkg.toml,package.json}]
|
||||||
indent_style = space
|
indent_style = space
|
||||||
indent_size = 2
|
indent_size = 2
|
||||||
|
@ -22,11 +22,11 @@ database:
|
|||||||
|
|
||||||
vault:
|
vault:
|
||||||
image: timbru31/node-chrome:slim
|
image: timbru31/node-chrome:slim
|
||||||
working_dir: /vault
|
working_dir: /offen/vault
|
||||||
volumes:
|
volumes:
|
||||||
- ./vault:/vault
|
- .:/offen
|
||||||
- ./local.offen.dev.pem:/vault/local.offen.dev.pem
|
- ./local.offen.dev.pem:/offen/vault/local.offen.dev.pem
|
||||||
- ./local.offen.dev-key.pem:/vault/local.offen.dev-key.pem
|
- ./local.offen.dev-key.pem:/offen/vault/local.offen.dev-key.pem
|
||||||
command: npm start -- --port 9977
|
command: npm start -- --port 9977
|
||||||
ports:
|
ports:
|
||||||
- 9977:9977
|
- 9977:9977
|
||||||
@ -36,12 +36,11 @@ vault:
|
|||||||
|
|
||||||
script:
|
script:
|
||||||
image: timbru31/node-chrome:slim
|
image: timbru31/node-chrome:slim
|
||||||
working_dir: /script
|
working_dir: /offen/script
|
||||||
volumes:
|
volumes:
|
||||||
- ./packages:/script/packages
|
- .:/offen
|
||||||
- ./script:/script
|
- ./local.offen.dev.pem:/offen/script/local.offen.dev.pem
|
||||||
- ./local.offen.dev.pem:/script/local.offen.dev.pem
|
- ./local.offen.dev-key.pem:/offen/script/local.offen.dev-key.pem
|
||||||
- ./local.offen.dev-key.pem:/script/local.offen.dev-key.pem
|
|
||||||
command: npm start -- --port 9966
|
command: npm start -- --port 9966
|
||||||
ports:
|
ports:
|
||||||
- 9966:9966
|
- 9966:9966
|
||||||
@ -50,12 +49,11 @@ script:
|
|||||||
|
|
||||||
auditorium:
|
auditorium:
|
||||||
image: timbru31/node-chrome:slim
|
image: timbru31/node-chrome:slim
|
||||||
working_dir: /auditorium
|
working_dir: /offen/auditorium
|
||||||
volumes:
|
volumes:
|
||||||
- ./packages:/auditorium/packages
|
- .:/offen
|
||||||
- ./auditorium:/auditorium
|
- ./local.offen.dev.pem:/offen/auditorium/local.offen.dev.pem
|
||||||
- ./local.offen.dev.pem:/auditorium/local.offen.dev.pem
|
- ./local.offen.dev-key.pem:/offen/auditorium/local.offen.dev-key.pem
|
||||||
- ./local.offen.dev-key.pem:/auditorium/local.offen.dev-key.pem
|
|
||||||
command: npm start -- --port 9955
|
command: npm start -- --port 9955
|
||||||
ports:
|
ports:
|
||||||
- 9955:9955
|
- 9955:9955
|
||||||
|
Loading…
Reference in New Issue
Block a user