Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@ on:
jobs:
lint:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
node-version: '22'

- name: Change to backend directory and install dependencies
run: cd apps/api && npm install
Expand All @@ -27,15 +27,15 @@ jobs:
build:
needs: lint
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
node-version: '22'

- name: Change to backend directory and install dependencies
run: cd apps/api && npm install
Expand Down
6 changes: 3 additions & 3 deletions apps/api/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Use Node.js 20 as the base image
FROM node:20
# Use Node.js 22 as the base image
FROM node:22

# Set the working directory inside the container
WORKDIR /app
Expand All @@ -26,4 +26,4 @@ RUN npm run build
EXPOSE 3000

# Command to start your NestJS application
CMD ./scheduler.sh & node dist/main.js
CMD ["sh", "-c", "./scheduler.sh & node dist/main.js"]
Loading
Loading