[Snyk] Security upgrade @nestjs/platform-express from 10.3.10 to 10.4.5 #61
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Pipeline | |
on: pull_request | |
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: Get time of commit | |
run: echo "TIME=$(git log -1 --pretty=format:%ct)" >> $GITHUB_ENV | |
- name: Build dev image and save it locally | |
uses: docker/build-push-action@v3 | |
with: | |
context: ./ | |
file: ./build/Dockerfile | |
builder: ${{ steps.buildx.outputs.name }} | |
tags: test-image | |
build-args: | | |
UPLOAD_COVERAGE=${{ true }} | |
GIT_COMMIT_SHA=${{ github.event.pull_request.head.sha }} | |
GIT_BRANCH=${{ github.head_ref }} | |
GIT_COMMITTED_AT=${{ env.TIME }} | |
CC_TEST_REPORTER_ID=${{ secrets.CODE_CLIMATE_ID }} | |
cache-from: type=gha | |
cache-to: type=gha,mode=max |