From bbcd1efad1ec029c8f83306e1c13bf8d67966250 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:50:08 -0700 Subject: [PATCH] Add check for dist folder --- .github/workflows/ci.yml | 7 +++++++ CONTRIBUTING.md | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 CONTRIBUTING.md diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 349c9cc..f4e96f4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,6 +7,13 @@ on: workflow_dispatch: jobs: + check-dist-up-to-date: + name: Check the dist/ folder is up to date + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v3 + - run: npm run all + - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 run-x86_64-linux: name: Run x86_64 Linux runs-on: ubuntu-22.04 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..3a01e76 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,3 @@ +# Submitting Pull Requests + +This action is based off https://github.com/actions/javascript-action. As part of your contributing flow you **must** run `npm run all` before we can merge. \ No newline at end of file