chore(ci): test prepare-cluster on pr #268
Workflow file for this run
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: ci | |
on: | |
pull_request: | |
branches: | |
- main | |
concurrency: | |
group: ci-${{ github.head_ref }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "npm" | |
cache-dependency-path: | | |
**/package-lock.json | |
- name: build | |
run: make | |
- name: fail if files changed | |
run: | | |
if ! git diff --quiet --exit-code ; then | |
echo "Please run 'make package-all' and 'make readme-all' locally and commit the changes." | |
exit 1 | |
fi |