CI/CD - Fixed Serverless Variable Reference Issue #456
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
--- | |
# Copyright The Linux Foundation and each contributor to CommunityBridge. | |
# SPDX-License-Identifier: MIT | |
name: Yarn Golang Backend Dependency Audit | |
on: | |
# https://docs.github.com/en/actions/learn-github-actions/workflow-syntax-for-github-actions | |
pull_request: | |
branches: | |
- main | |
jobs: | |
yarn-scan-backend-go-pr: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16' | |
- name: Setup | |
run: yarn install | |
- name: Yarn Audit | |
working-directory: cla-backend-go | |
run: | | |
yarn audit |