Skip to content

Commit ad6eb97

Browse files
authored
Merge pull request #263 from boostcampwm-2022/dev
Deploy: 5주차 배포
2 parents ff49ba6 + 9d554c6 commit ad6eb97

File tree

87 files changed

+2431
-842
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2431
-842
lines changed

β€Ž.github/workflows/ci.ymlβ€Ž

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,28 @@ jobs:
2222
with:
2323
node-version: ${{ matrix.node-version }}
2424
- run: npm ci
25+
2526
- name: For client directory
2627
run: |
2728
cd client
2829
npm run build --if-present
2930
npm test --if-present
31+
32+
- name: Install coreutils for macOS
33+
shell: bash
34+
if: runner.os == 'macOS'
35+
run: |
36+
brew install coreutils
37+
alias timeout=gtimeout
38+
3039
- name: For server directory
40+
shell: bash
41+
env:
42+
BACKEND_LOGIN_KEY: ${{ secrets.DOTENV_VAULT_BACKEND_CI_LOGIN_KEY }}
3143
run: |
3244
cd server
3345
npm run build --if-present
3446
npm test --if-present
47+
npx dotenv-vault login "$BACKEND_LOGIN_KEY" > /dev/null
48+
npx dotenv-vault pull ci .env
49+
timeout --verbose 10 npx ts-node index.ts || { if [ $? -eq 124 ]; then (exit 0); else (exit $?); fi }

β€Ž.gitignoreβ€Ž

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# ignore secret keys
2+
deploy-scripts/vault-secrets
3+
14
# ignore settings for yarn berry zero install
25
.yarn/*
36
!.yarn/cache
@@ -29,4 +32,4 @@ dist-ssr
2932
*.sln
3033
*.sw?
3134

32-
.env
35+
.env

β€Ž@wabinar-crdt/tsconfig.jsonβ€Ž

Lines changed: 0 additions & 6 deletions
This file was deleted.
File renamed without changes.

β€Ž@wabinar/api-types/block.tsβ€Ž

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export enum BlockType {
2+
H1,
3+
H2,
4+
H3,
5+
P,
6+
VOTE,
7+
QUESTION,
8+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"name": "@wabinar/api-types",
3+
"version": "1.0.0",
4+
"description": "API types for wabinar",
5+
"license": "MIT"
6+
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
Β (0)