File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 - main
77 pull_request :
88
9- # Set defaults to backend folder for npm commands
9+
1010defaults :
1111 run :
1212 working-directory : ./backend
@@ -16,26 +16,26 @@ jobs:
1616 runs-on : ubuntu-latest
1717
1818 steps :
19-
19+
2020 - name : Checkout repository
2121 uses : actions/checkout@v3
2222
23-
2423 - name : Setup Node.js
2524 uses : actions/setup-node@v3
2625 with :
2726 node-version : 20
2827
29-
3028 - name : Install dependencies
3129 run : npm install
3230
33-
3431 - name : Build TypeScript
3532 run : npm run build
3633
3734 - name : Build Docker image
3835 run : docker build -t my-api:${{ github.sha }} ./backend
3936
37+
4038 - name : Build and run Docker Compose
41- run : docker-compose -f ./docker-compose.yml up --build -d
39+ working-directory : ./
40+ run : docker-compose -f docker-compose.yml up --build -d
41+
You can’t perform that action at this time.
0 commit comments