Skip to content

Update dependencies #38

Update dependencies

Update dependencies #38

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build & Test (Node.js v12.x)
uses: actions/setup-node@v2
with:
node-version: 16.20.2
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- uses: mr-smithers-excellent/docker-build-push@v5
name: Update & Push Docker image
with:
image: qualweb/backend
tags: latest
registry: docker.io
dockerfile: Dockerfile
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}