Bump next from 14.2.13 to 14.2.21 #45
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: 'Audit Checks' | |
on: | |
push: | |
branches: | |
- main | |
- master | |
- dev | |
pull_request: | |
branches: | |
- main | |
- master | |
- dev | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.head.ref }} | |
cancel-in-progress: true | |
jobs: | |
audit: | |
name: Audit dependencies | |
runs-on: zondax-runners | |
container: | |
image: node:18-bookworm | |
env: | |
PROJECT: web-beryx | |
NAMESPACE: web-beryx | |
HEAD_SHA: ${{ github.event.pull_request.head.sha }} | |
HEAD_BRANCH_NAME: ${{ github.head_ref }} | |
GHOST_API_URL: ${{ secrets.GHOST_API_URL }} | |
GHOST_API_KEY: ${{ secrets.GHOST_API_KEY }} | |
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | |
DEEPSOURCE_DSN: ${{ secrets.DEEPSOURCE_DSN }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
TURBO_TEAM: zondax | |
NEXT_PUBLIC_NAT_SERVER_CREDENTIAL: ${{ secrets.NEXT_PUBLIC_NAT_SERVER_CREDENTIAL }} | |
NEXT_PUBLIC_NAT_SERVER: ${{ secrets.NEXT_PUBLIC_NAT_SERVER }} | |
NEXT_PUBLIC_MUI_GRID_LICENSE: ${{ secrets.NEXT_PUBLIC_MUI_GRID_LICENSE }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 # Perform a deep clone (fetch all history) | |
submodules: 'recursive' # Fetch Git submodules recursively | |
# Related to https://github.com/actions/runner/issues/2033 | |
- name: Patch git clone | |
run: git config --system --add safe.directory '*' | |
- name: Install dependencies | |
run: yarn install | |
- name: Audit dependencies | |
run: yarn npm audit |