From e17ea6899e6980a4368ebde8a7232a6863909d85 Mon Sep 17 00:00:00 2001 From: Brian Cristante <33549821+brcrista@users.noreply.github.com> Date: Thu, 24 Jun 2021 10:04:30 -0400 Subject: [PATCH] formatting & language --- .github/workflows/check-dist.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 61fdb98..9a8474a 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -31,11 +31,14 @@ jobs: - name: Install dependencies run: npm install - - name: Move checked in index.js file to tmp directory + + - name: Move the committed index.js file run: mv dist/index.js /tmp - - name: Create new index.js file + + - name: Rebuild the index.js file run: npm run release - - name: Compare expected vs actual index.js file + + - name: Compare the expected and actual index.js files run: git diff --ignore-all-space dist/index.js /tmp/index.js id: diff