[Snyk] Fix for 2 vulnerabilities #848
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
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen". | |
name: Build | |
on: | |
pull_request: {} | |
workflow_dispatch: {} | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
CI: "true" | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install dependencies | |
run: yarn install --check-files --frozen-lockfile | |
- name: Synthesize project files | |
run: npx projen | |
- name: Anti-tamper check | |
run: git diff --exit-code | |
- name: Set git identity | |
run: |- | |
git config user.name "Auto-bump" | |
git config user.email "[email protected]" | |
- name: Build | |
run: npx projen build | |
- name: Anti-tamper check | |
run: git diff --exit-code |