Skip to content

Commit

Permalink
misc: add a name to each GH action step (#7189)
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh-Cena authored Apr 17, 2022
1 parent fa1ce23 commit 9df4874
Show file tree
Hide file tree
Showing 12 changed files with 41 additions and 23 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-blog-only.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,10 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Set up Node
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
node-version: '16'
cache: yarn
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/build-perf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,15 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Set up Node
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
node-version: '16'
cache: yarn
- uses: preactjs/compressed-size-action@8119d3d31b6e57b167e09c81dfa877eada3bcb35 # v2
- name: Track build size changes
uses: preactjs/compressed-size-action@8119d3d31b6e57b167e09c81dfa877eada3bcb35 # v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
build-script: build:website:en
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/canary-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
name: Publish Canary
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
with:
fetch-depth: 0 # Needed to get the commit number with "git rev-list --count HEAD"
- name: Set up Node
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- javascript

steps:
- name: Checkout repository
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3

- name: Initialize CodeQL
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/dependency-review.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: 'Dependency Review'
name: Dependency Review
on: [pull_request]

permissions:
Expand All @@ -8,6 +8,7 @@ jobs:
dependency-review:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: 'Dependency Review'
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: Dependency Review
uses: actions/dependency-review-action@3f943b86c9a289f4e632c632695e2e0898d9d67d # v1
3 changes: 2 additions & 1 deletion .github/workflows/lighthouse-report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ jobs:
name: Lighthouse Report
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Wait for the Netlify Preview
uses: jakepartusch/wait-for-netlify-action@7dcdeb40c6bc3710a8099702a1fa1ce2c5e322a6 # v1
id: netlify
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Set up Node
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
node-version: '16'
cache: yarn
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/showcase-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Set up Node
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down
12 changes: 8 additions & 4 deletions .github/workflows/tests-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
matrix:
node: ['14', '16', '17']
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down Expand Up @@ -62,7 +63,8 @@ jobs:
- variant: -st
nodeLinker: pnp
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Use Node.js 16
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down Expand Up @@ -107,7 +109,8 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: Use Node.js 16
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down Expand Up @@ -136,7 +139,8 @@ jobs:
timeout-minutes: 30
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 #v3
- name: Use Node.js 16
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/tests-swizzle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,12 @@ jobs:
action: ['eject', 'wrap']
variant: ['js', 'ts']
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Use Node.js
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Set up Node
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
node-version: 14
node-version: '16'
cache: yarn
- name: Installation
run: yarn
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ jobs:
steps:
- name: Support longpaths
run: git config --system core.longpaths true
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ jobs:
matrix:
node: ['14', '16', '17']
steps:
- uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Checkout
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846 # v3
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3
with:
Expand Down

0 comments on commit 9df4874

Please sign in to comment.