msvc-dev-cmd (release) #1801
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: msvc-dev-cmd (release) | |
on: | |
push: | |
branches: | |
- release/* | |
schedule: | |
- cron: '0 6 * * *' | |
jobs: | |
test: | |
name: release | |
runs-on: windows-latest | |
steps: | |
- name: Setup Developer Command Prompt | |
uses: ilammy/msvc-dev-cmd@release/v1 | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- name: Compile and run some C code | |
shell: cmd | |
run: | | |
cl.exe hello.c | |
hello.exe | |
audit: | |
name: npm audit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out source code | |
uses: actions/checkout@v4 | |
- run: npm audit --audit-level=moderate --production | |
- run: npm audit --audit-level=critical |