fix(yarn): intentionally fail yarn install if the yarn.lock is not UT… #58
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: Lint and Compile CDK | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
defaults: | |
run: | |
shell: bash | |
working-directory: infrastructure | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: install deps | |
run: yarn install --frozen-lockfile | |
- run: yarn lint | |
- run: yarn prettier | |
- run: yarn compile | |
- run: yarn synth | |
- run: yarn test |