From fe74fb6c7155e22f727d82bff096a32022530b00 Mon Sep 17 00:00:00 2001 From: Federico Date: Mon, 15 Jul 2024 14:39:49 +0700 Subject: [PATCH] Update is-dist-up-to-date.yml --- .github/workflows/is-dist-up-to-date.yml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/.github/workflows/is-dist-up-to-date.yml b/.github/workflows/is-dist-up-to-date.yml index 738ef92..dcfae5b 100644 --- a/.github/workflows/is-dist-up-to-date.yml +++ b/.github/workflows/is-dist-up-to-date.yml @@ -1,20 +1,7 @@ -env: - SCRIPT_NAME: build - -# FILE GENERATED WITH: npx ghat fregante/ghatemplates/is-dist-up-to-date -# SOURCE: https://github.com/fregante/ghatemplates - -name: Verify Built Files on: - pull_request - push + jobs: - Verify: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: install - run: npm ci || npm install - - run: npm run ${{ env.SCRIPT_NAME }} - - name: verify that built files are up to date - run: git diff --exit-code + run-verification: + uses: fregante/ghatemplates/is-dist-up-to-date/reusable.yml@main