Skip to content

fix: update package-lock.json #105

fix: update package-lock.json

fix: update package-lock.json #105

Workflow file for this run

name: Master Update
on:
push:
branches:
- master
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Get time of commit
run: echo "TIME=$(git log -1 --pretty=format:%ct)" >> $GITHUB_ENV
- name: Run tests, upload coverage and publish image
uses: docker/build-push-action@v3
with:
context: ./
file: ./build/Dockerfile
builder: ${{ steps.buildx.outputs.name }}
push: true
tags: aamdigital/replication-ms:latest
cache-from: type=gha
cache-to: type=gha,mode=max
build-args: |
UPLOAD_COVERAGE=${{ true }}
GIT_COMMIT_SHA=${{ github.sha }}
GIT_BRANCH=master
GIT_COMMITTED_AT=${{ env.TIME }}
CC_TEST_REPORTER_ID=${{ secrets.CODE_CLIMATE_ID }}