mirror of
https://github.com/offen/website.git
synced 2024-11-22 09:00:28 +01:00
add basic code sharing between javascript apps
This commit is contained in:
parent
7713770695
commit
f094f138aa
@ -44,6 +44,9 @@ 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:
|
||||||
@ -64,6 +67,9 @@ 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:
|
||||||
@ -76,6 +82,9 @@ jobs:
|
|||||||
- run:
|
- run:
|
||||||
name: Run tests
|
name: Run tests
|
||||||
command: npm test
|
command: npm test
|
||||||
|
- run:
|
||||||
|
name: Bundle
|
||||||
|
command: npm run build
|
||||||
|
|
||||||
auditorium:
|
auditorium:
|
||||||
docker:
|
docker:
|
||||||
@ -84,6 +93,9 @@ 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:
|
||||||
|
@ -38,6 +38,7 @@ script:
|
|||||||
image: timbru31/node-chrome:slim
|
image: timbru31/node-chrome:slim
|
||||||
working_dir: /script
|
working_dir: /script
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./packages:/script/packages
|
||||||
- ./script:/script
|
- ./script:/script
|
||||||
- ./local.offen.dev.pem:/script/local.offen.dev.pem
|
- ./local.offen.dev.pem:/script/local.offen.dev.pem
|
||||||
- ./local.offen.dev-key.pem:/script/local.offen.dev-key.pem
|
- ./local.offen.dev-key.pem:/script/local.offen.dev-key.pem
|
||||||
@ -51,6 +52,7 @@ auditorium:
|
|||||||
image: timbru31/node-chrome:slim
|
image: timbru31/node-chrome:slim
|
||||||
working_dir: /auditorium
|
working_dir: /auditorium
|
||||||
volumes:
|
volumes:
|
||||||
|
- ./packages:/auditorium/packages
|
||||||
- ./auditorium:/auditorium
|
- ./auditorium:/auditorium
|
||||||
- ./local.offen.dev.pem:/auditorium/local.offen.dev.pem
|
- ./local.offen.dev.pem:/auditorium/local.offen.dev.pem
|
||||||
- ./local.offen.dev-key.pem:/auditorium/local.offen.dev-key.pem
|
- ./local.offen.dev-key.pem:/auditorium/local.offen.dev-key.pem
|
||||||
|
Loading…
Reference in New Issue
Block a user