Skip to content

[Snyk] Upgrade @testing-library/jest-dom from 5.15.0 to 5.17.0 #284

[Snyk] Upgrade @testing-library/jest-dom from 5.15.0 to 5.17.0

[Snyk] Upgrade @testing-library/jest-dom from 5.15.0 to 5.17.0 #284

Workflow file for this run

name: Docker Image CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Build the Docker image
run: docker buildx build --cache-to type=inline .
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
audit:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: npm audit fix --force ----audit-level critical
publish-gpr:
needs: audit
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://npm.pkg.github.com/
- run: |
echo '//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}' > .npmrc
cat .npmrc
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}