Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kraftp committed Sep 10, 2024
1 parent 3da93db commit e18c01f
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/bank.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ jobs:
with:
node-version: 20
cache: npm
cache-dependency-path: 'bank/bank-backend/package-lock.json'
cache-dependency-path: 'typescript/bank/bank-backend/package-lock.json'
- name: Compile Bank Server
working-directory: bank/bank-backend/
working-directory: typescript/bank/bank-backend/
run: |
npm ci
npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/greeting-guestbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
with:
node-version: 20
- name: Compile Hello World
working-directory: dbos-demo-apps/greeting-guestbook
working-directory: dbos-demo-apps/typescript/greeting-guestbook
run: |
npm install
npx knex migrate:latest
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/shop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ jobs:
with:
node-version: 20
cache: npm
cache-dependency-path: 'e-commerce/shop-backend/package-lock.json'
cache-dependency-path: 'typescript/e-commerce/shop-backend/package-lock.json'
- name: Compile Shop Backend Server
working-directory: e-commerce/shop-backend/
working-directory: typescript/e-commerce/shop-backend/
run: |
npm ci
npm run lint
Expand All @@ -70,7 +70,7 @@ jobs:
# The default PostgreSQL port
POSTGRES_PORT: 5432
- name: Compile Payment Backend Server
working-directory: e-commerce/payment-backend/
working-directory: typescript/e-commerce/payment-backend/
run: |
npm ci
npm run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tpcc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ jobs:
with:
node-version: 20
- name: Compile and Test TPC-C
working-directory: dbos-demo-apps/tpcc
working-directory: dbos-demo-apps/typescript/tpcc
run: |
npm install
npm run build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/yky-social.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ jobs:
# cache: 'npm'
- name: Change directory and install dependencies
run: |
cd ./dbos-demo-apps/yky-social
cd ./dbos-demo-apps/typescript/yky-social
npm ci --no-audit
- name: Create new PG DB and User
run: |
cd ./dbos-demo-apps/yky-social
cd ./dbos-demo-apps/typescript/yky-social
scripts/init_pgdb.sh
env:
# The postgres superuser password we set above
PGPASSWORD: dbos
- name: Build Test yky-social
working-directory: ./dbos-demo-apps/yky-social
working-directory: ./dbos-demo-apps/typescript/yky-social
run: |
npm run build
npm run lint
Expand Down

0 comments on commit e18c01f

Please sign in to comment.