Skip to content

Simulate outdated package for Dependabot #19

Simulate outdated package for Dependabot

Simulate outdated package for Dependabot #19

Workflow file for this run

name: Build and Lint
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Install dependencies
run: yarn install
- name: Run ESLint
run: yarn eslint .
- name: Build Docker image
run: docker build -t xvanderlinden/webapp:latest .
- name: Log in to Docker Hub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Build and push Docker image
run: |
docker build -t xvanderlinden/webapp:latest .
docker push xvanderlinden/webapp:latest