diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml index 8ede54d..923ae4b 100644 --- a/.github/workflows/pipeline.yml +++ b/.github/workflows/pipeline.yml @@ -1,4 +1,4 @@ -name: Deploy to Render.com +name: Build Docker image and push it to Docker Hub jobs: build: runs-on: ubuntu-latest @@ -6,16 +6,13 @@ jobs: - name: Use Node.js uses: actions/setup-node@v3 with: - node-version: '20.x' + node-version: '24.x' - name: Check out repository uses: actions/checkout@v4 - name: Install dependencies - run: npm install - - - name: Build - run: npm run build + run: npm ci - name: Log in to Docker Hub uses: docker/login-action@v3