From bbcd1efad1ec029c8f83306e1c13bf8d67966250 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:50:08 -0700 Subject: [PATCH 1/5] 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 From 1ae92f01c0139312446b2a04f42b13d7b88effce Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:51:50 -0700 Subject: [PATCH 2/5] Of course npm run all does not install, why would it. --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f4e96f4..da76b00 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 + - run: npm install - run: npm run all - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 run-x86_64-linux: From 4420be335b5e2e643905f75dac9fbfc5f5caecf2 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:53:07 -0700 Subject: [PATCH 3/5] Show more in report --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index da76b00..1dda2ff 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,6 +14,7 @@ jobs: - uses: actions/checkout@v3 - run: npm install - run: npm run all + - run: git status --porcelain=v1 - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 run-x86_64-linux: name: Run x86_64 Linux From 0e429bedc63834ef8a6e0eeee1ebbea15e949c1e Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:54:33 -0700 Subject: [PATCH 4/5] Nosave --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1dda2ff..df1a3d4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: steps: - uses: actions/checkout@v3 - run: npm install - - run: npm run all + - run: npm run all --no-save - run: git status --porcelain=v1 - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 run-x86_64-linux: From 3177c7dd91636f717ab78b36ec2c8bdcb24844e5 Mon Sep 17 00:00:00 2001 From: Ana Hobden Date: Mon, 23 Oct 2023 11:57:00 -0700 Subject: [PATCH 5/5] npm options wrong post --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index df1a3d4..0098b18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,8 +12,8 @@ jobs: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v3 - - run: npm install - - run: npm run all --no-save + - run: npm install --no-save + - run: npm run all - run: git status --porcelain=v1 - run: test $(git status --porcelain=v1 2>/dev/null | wc -l) -eq 0 run-x86_64-linux: