Configure Renovate #27
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: Ensure Dist Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build-dist: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 16 | |
- run: npm ci | |
- run: npm run compile | |
- name: Validate dist | |
run: git diff --name-only --exit-code dist || (echo "Looks like dist doesn't match the source. Please ensure dist is built by running npm install and npm run compile" && exit 1) |