From a8b1dc44fa80081b0181c583a755b2e548f53ecf Mon Sep 17 00:00:00 2001 From: "James M. Greene" Date: Mon, 17 Apr 2023 23:24:24 -0500 Subject: [PATCH] Actions naming cleanup/reverts --- .github/workflows/check-dist.yml | 11 ++++++----- .github/workflows/check-formatting.yml | 8 ++++---- .github/workflows/check-linter.yml | 8 ++++---- .github/workflows/codeql-analysis.yml | 2 +- .github/workflows/rebuild-dependabot-prs.yml | 10 +++++----- .github/workflows/test.yml | 8 ++++---- 6 files changed, 24 insertions(+), 23 deletions(-) diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index ad7926f..5e32b6c 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -21,21 +21,22 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - name: Checkout + uses: actions/checkout@v3 - - name: setup node + - name: Setup Node.JS uses: actions/setup-node@v3 with: node-version-file: '.node-version' cache: npm - - name: install dependencies + - name: Install dependencies run: npm ci - - name: rebuild the dist/ directory + - name: Rebuild the dist/ directory run: npm run prepare - - name: compare the expected and actual dist/ directories + - name: Compare the expected and actual dist/ directories id: diff run: | if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then diff --git a/.github/workflows/check-formatting.yml b/.github/workflows/check-formatting.yml index ded00e6..7bd7440 100644 --- a/.github/workflows/check-formatting.yml +++ b/.github/workflows/check-formatting.yml @@ -1,4 +1,4 @@ -name: Checking formatting +name: Check formatting on: push: @@ -21,14 +21,14 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - name: setup node + - name: Setup Node.JS uses: actions/setup-node@v3 with: node-version-file: '.node-version' cache: npm - - name: install dependencies + - name: Install dependencies run: npm ci - - name: verify formatting + - name: Verify formatting run: npm run format:check diff --git a/.github/workflows/check-linter.yml b/.github/workflows/check-linter.yml index 90a5b5e..e8e8fd4 100644 --- a/.github/workflows/check-linter.yml +++ b/.github/workflows/check-linter.yml @@ -18,17 +18,17 @@ jobs: lint: runs-on: ubuntu-latest steps: - - name: checkout + - name: Checkout uses: actions/checkout@v3 - - name: setup node + - name: Setup Node.JS uses: actions/setup-node@v3 with: node-version-file: '.node-version' cache: npm - - name: install dependencies + - name: Install dependencies run: npm ci - - name: verify linter + - name: Verify linter run: npm run lint:check diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f194123..da136bf 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -37,7 +37,7 @@ jobs: # Learn more about CodeQL language support at https://git.io/codeql-language-support steps: - - name: Checkout repository + - name: Checkout uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. diff --git a/.github/workflows/rebuild-dependabot-prs.yml b/.github/workflows/rebuild-dependabot-prs.yml index 13a27d8..485b2a6 100644 --- a/.github/workflows/rebuild-dependabot-prs.yml +++ b/.github/workflows/rebuild-dependabot-prs.yml @@ -21,24 +21,24 @@ jobs: runs-on: ubuntu-latest steps: - - name: checkout + - name: Checkout uses: actions/checkout@v3 with: token: ${{ secrets.PAGES_AUTOMATION_PAT }} - - name: setup node + - name: Setup Node.JS uses: actions/setup-node@v3 with: node-version-file: '.node-version' cache: npm - - name: install dependencies + - name: Install dependencies run: npm ci - - name: rebuild the dist/ directory + - name: Rebuild the dist/ directory run: npm run prepare - - name: commit any differences present in the dist/ directory + - name: Commit any differences present in the dist/ directory run: | if [ "$(git diff --ignore-space-at-eol dist/ | wc -l)" -gt "0" ]; then echo "Detected uncommitted changes after rebuild in dist folder. Committing..." diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 2eedb6f..8767970 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -13,17 +13,17 @@ jobs: test: runs-on: ubuntu-latest steps: - - name: checkout + - name: Checkout uses: actions/checkout@v3 - - name: setup node + - name: Setup Node.JS uses: actions/setup-node@v3 with: node-version-file: '.node-version' cache: npm - - name: install dependencies + - name: Install dependencies run: npm ci - - name: run tests + - name: Run tests run: npm run test