Skip to content

Commit 24c362a

Browse files
committed
Update GitHub workflows to use latest dependencies and added representation icons to jobs
1 parent e056505 commit 24c362a

16 files changed

+136
-136
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -16,25 +16,25 @@ jobs:
1616
os: ['ubuntu-22.04', 'windows-latest']
1717
runs-on: ${{ matrix.os }}
1818
steps:
19-
- name: Checkout Code
20-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
19+
- name: 📥 Checkout Code
20+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2121

22-
- name: Get Core Dependencies
22+
- name: 🕸️ Get Core Dependencies
2323
uses: ./.github/workflows/actions/get-core-dependencies
2424

25-
- name: Core Build
25+
- name: 🏗️ Core Build
2626
run: npm run build -- --ci
2727
shell: bash
2828

29-
- name: Validate Build
29+
- name: 🔬 Validate Build
3030
run: npm run test.dist
3131
shell: bash
3232

33-
- name: Validate Testing
33+
- name: 🔬 Validate Testing
3434
run: npm run test.testing
3535
shell: bash
3636

37-
- name: Upload Build Artifacts
37+
- name: 📤 Upload Build Artifacts
3838
if: ${{ matrix.os == 'ubuntu-22.04' }}
3939
uses: ./.github/workflows/actions/upload-archive
4040
with:

.github/workflows/create-production-pr.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -32,48 +32,48 @@ jobs:
3232
pull-requests: write
3333
steps:
3434
# Log the input from GitHub Actions for easy traceability
35-
- name: Log GitHub Input
35+
- name: 🔏Log GitHub Input
3636
run: |
3737
echo "Version: ${{ inputs.version }}"
3838
shell: bash
3939

40-
- name: Checkout Code
41-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
40+
- name: 📥 Checkout Code
41+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4242
with:
4343
# A depth of 0 gets the entire git history, which we'll want for things like checking all git history/tags.
4444
# We need git history to generate the changelog; however, we don't know how deep to go.
4545
# Since publishing is a one-off activity, just get everything.
4646
fetch-depth: 0
4747
ref: ${{ inputs.base }}
4848

49-
- name: Get Core Dependencies
49+
- name: 🕸️ Get Core Dependencies
5050
uses: ./.github/workflows/actions/get-core-dependencies
5151

5252
# TODO(STENCIL-927): Backport changes to the v3 branch
53-
- name: Run Publish Preparation Script
53+
- name: 📦Run Publish Preparation Script
5454
run: npm run release.ci.prepare -- --version ${{ inputs.version }}
5555
shell: bash
5656

57-
- name: Log Generated Changes
57+
- name: 📝 Log Generated Changes
5858
run: git --no-pager diff
5959
shell: bash
6060

61-
- name: Generate Version String and Branch Name
61+
- name: 🏷️ Generate Version String and Branch Name
6262
id: name_gen
6363
run: |
6464
VERSION_STR=$(jq '.version' package.json | sed s/\"//g)
6565
echo "VERSION_STR=$VERSION_STR" >> "$GITHUB_OUTPUT"
6666
echo "BRANCH_NAME=release/$VERSION_STR-run-${{ github.run_number }}-${{ github.run_attempt }}" >> "$GITHUB_OUTPUT"
6767
shell: bash
6868

69-
- name: Print Version String and Branch Name
69+
- name: 🖨️ Print Version String and Branch Name
7070
run: |
7171
echo Version: ${{ steps.name_gen.outputs.VERSION_STR }}
7272
echo Branch Name: ${{ steps.name_gen.outputs.BRANCH_NAME }}
7373
shell: bash
7474

75-
- name: Create the Pull Request
76-
uses: peter-evans/create-pull-request@6d6857d36972b65feb161a90e484f2984215f83e # v6.0.5
75+
- name: 📤 Create the Pull Request
76+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
7777
with:
7878
# create a new pull request using the specified base branch
7979
base: ${{ inputs.base }}

.github/workflows/lint-and-format.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,18 @@ jobs:
1414
name: Check
1515
runs-on: 'ubuntu-22.04'
1616
steps:
17-
- name: Checkout Code
18-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
17+
- name: 📥 Checkout Code
18+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1919

20-
- name: Get Core Dependencies
20+
- name: 🕸️ Get Core Dependencies
2121
uses: ./.github/workflows/actions/get-core-dependencies
2222

23-
- name: ESLint
23+
- name: 🖌️ ESLint
2424
run: npm run lint
2525

26-
- name: Prettier Check
26+
- name: 🖌️ Prettier Check
2727
run: npm run prettier.dry-run
2828
shell: bash
2929

30-
- name: Spellcheck
30+
- name: 📚 Spellcheck
3131
run: npm run spellcheck

.github/workflows/main.yml

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -19,54 +19,54 @@ permissions:
1919

2020
jobs:
2121
build_core:
22-
name: Build
22+
name: 🏗️ Build
2323
uses: ./.github/workflows/build.yml
2424

2525
lint_and_format:
26-
name: Lint and Format
26+
name: 🖌️ Lint and Format
2727
uses: ./.github/workflows/lint-and-format.yml
2828

2929
type_tests:
30-
name: Type Tests
30+
name: 🧪 Type Tests
3131
needs: [build_core]
3232
uses: ./.github/workflows/test-types.yml
3333

3434
analysis_tests:
35-
name: Analysis Tests
35+
name: 🔬 Analysis Tests
3636
needs: [build_core]
3737
uses: ./.github/workflows/test-analysis.yml
3838

3939
docs_build_tests:
40-
name: Docs Build Tests
40+
name: 🏗️ Docs Build Tests
4141
needs: [build_core]
4242
uses: ./.github/workflows/test-docs-build.yml
4343

4444
bundler_tests:
45-
name: Bundler Tests
45+
name: 🧪 Bundler Tests
4646
needs: [build_core]
4747
uses: ./.github/workflows/test-bundlers.yml
4848

4949
copytask_tests:
50-
name: Copy Task Tests
50+
name: 🧪 Copy Task Tests
5151
needs: [build_core]
5252
uses: ./.github/workflows/test-copytask.yml
5353

5454
component_starter_tests:
55-
name: Component Starter Smoke Test
55+
name: 🧪 Component Starter Smoke Test
5656
needs: [build_core]
5757
uses: ./.github/workflows/test-component-starter.yml
5858

5959
e2e_tests:
60-
name: E2E Tests
60+
name: 🧪 E2E Tests
6161
needs: [build_core]
6262
uses: ./.github/workflows/test-e2e.yml
6363

6464
unit_tests:
65-
name: Unit Tests
65+
name: 🧪 Unit Tests
6666
needs: [build_core]
6767
uses: ./.github/workflows/test-unit.yml
6868

6969
wdio_tests:
70-
name: WebdriverIO Tests
70+
name: 🧪 WebdriverIO Tests
7171
needs: [build_core]
7272
uses: ./.github/workflows/test-wdio.yml

.github/workflows/release-dev.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,20 +25,20 @@ jobs:
2525
outputs:
2626
dev-version: ${{ steps.get-dev-version.outputs.DEV_VERSION }}
2727
steps:
28-
- name: Checkout Code
29-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
28+
- name: 📥 Checkout Code
29+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
3030

31-
- name: Get Core Dependencies
31+
- name: 🕸️ Get Core Dependencies
3232
uses: ./.github/workflows/actions/get-core-dependencies
3333

34-
- name: Download Build Archive
34+
- name: 📥 Download Build Archive
3535
uses: ./.github/workflows/actions/download-archive
3636
with:
3737
name: stencil-core
3838
path: .
3939
filename: stencil-core-build.zip
4040

41-
- name: Get Version
41+
- name: 🏷️ Get Version
4242
id: get-dev-version
4343
run: |
4444
# A unique string to publish Stencil under
@@ -56,15 +56,15 @@ jobs:
5656
shell: bash
5757

5858
release-stencil-dev-build:
59-
name: Publish Dev Build
59+
name: 📦 Publish Dev Build
6060
needs: [get-dev-version, build_core]
6161
runs-on: ubuntu-22.04
6262
permissions:
6363
contents: read
6464
id-token: write
6565
steps:
66-
- name: Checkout Code
67-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
66+
- name: 📥 Checkout Code
67+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6868
- uses: ./.github/workflows/actions/publish-npm
6969
with:
7070
tag: dev

.github/workflows/release-nightly.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,26 +18,26 @@ jobs:
1818
uses: ./.github/workflows/build.yml
1919

2020
get-nightly-version:
21-
name: Get Nightly Build Version
21+
name: 🌙Get Nightly Build Version
2222
needs: [build_core]
2323
runs-on: ubuntu-22.04
2424
outputs:
2525
nightly-version: ${{ steps.get-nightly-version.outputs.NIGHTLY_VERSION }}
2626
steps:
27-
- name: Checkout Code
28-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
27+
- name: 📥 Checkout Code
28+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2929

30-
- name: Get Core Dependencies
30+
- name: 🕸️ Get Core Dependencies
3131
uses: ./.github/workflows/actions/get-core-dependencies
3232

33-
- name: Download Build Archive
33+
- name: 📥 Download Build Archive
3434
uses: ./.github/workflows/actions/download-archive
3535
with:
3636
name: stencil-core
3737
path: .
3838
filename: stencil-core-build.zip
3939

40-
- name: Get Version
40+
- name: 🏷️ Get Version
4141
id: get-nightly-version
4242
run: |
4343
# A unique string to publish Stencil under
@@ -65,8 +65,8 @@ jobs:
6565
contents: read
6666
id-token: write
6767
steps:
68-
- name: Checkout Code
69-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
68+
- name: 📥 Checkout Code
69+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
7070
- uses: ./.github/workflows/actions/publish-npm
7171
with:
7272
tag: nightly

.github/workflows/release-production.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,38 +29,38 @@ jobs:
2929
id-token: write
3030
steps:
3131
# Log the input from GitHub Actions for easy traceability
32-
- name: Log GitHub Workflow UI Input
32+
- name: 🔏Log GitHub Workflow UI Input
3333
run: |
3434
echo "Tag: ${{ inputs.tag }}"
3535
echo "Base Branch: ${{ inputs.base }}"
3636
shell: bash
3737

38-
- name: Verify that the 'latest' tag is applied only to the 'main' branch
38+
- name: 🏷️ Verify that the 'latest' tag is applied only to the 'main' branch
3939
run: |
4040
echo "The 'latest' tag can only be published from the 'main' branch. Exiting."
4141
exit 1
4242
shell: bash
4343
if: ${{ inputs.base != 'main' && inputs.tag == 'latest' }}
4444

45-
- name: Checkout Code
46-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
45+
- name: 📥 Checkout Code
46+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4747
with:
4848
# A depth of 0 gets the entire git history, which we'll want for things like checking all git history/tags.
4949
# We need git history to generate the changelog; however, we don't know how deep to go.
5050
# Since publishing is a one-off activity, just get everything.
5151
fetch-depth: 0
5252
ref: ${{ inputs.base }}
5353

54-
- name: Get Core Dependencies
54+
- name: 🕸️ Get Core Dependencies
5555
uses: ./.github/workflows/actions/get-core-dependencies
5656

57-
- name: Prepare NPM Token
57+
- name: 📦 Prepare NPM Token
5858
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
5959
shell: bash
6060
env:
6161
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
6262

63-
- name: Run Publish Scripts
63+
- name: 📦 Run Publish Scripts
6464
# pass the generated version number instead of the input, since we've already incremented it in the prerelease
6565
# step
6666
run: npm run release.ci -- --tag ${{ inputs.tag }}

.github/workflows/test-analysis.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,28 +18,28 @@ jobs:
1818
os: ['ubuntu-latest', 'windows-latest']
1919
runs-on: ${{ matrix.os }}
2020
steps:
21-
- name: Checkout Code
22-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
21+
- name: 📥 Checkout Code
22+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323

24-
- name: Get Core Dependencies
24+
- name: 🕸️ Get Core Dependencies
2525
uses: ./.github/workflows/actions/get-core-dependencies
2626

27-
- name: Use Node ${{ matrix.node }}
28-
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
27+
- name: 🟢 Use Node ${{ matrix.node }}
28+
uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0
2929
with:
3030
node-version: ${{ matrix.node }}
3131
cache: 'npm'
3232

33-
- name: Download Build Archive
33+
- name: 📥 Download Build Archive
3434
uses: ./.github/workflows/actions/download-archive
3535
with:
3636
name: stencil-core
3737
path: .
3838
filename: stencil-core-build.zip
3939

40-
- name: Analysis Tests
40+
- name: 🔬 Analysis Tests
4141
run: npm run test.analysis
4242
shell: bash
4343

44-
- name: Check Git Context
44+
- name: 🔍 Check Git Context
4545
uses: ./.github/workflows/actions/check-git-context

.github/workflows/test-bundlers.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,22 @@ jobs:
1313
name: Verify Bundlers
1414
runs-on: 'ubuntu-22.04'
1515
steps:
16-
- name: Checkout Code
17-
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
16+
- name: 📥 Checkout Code
17+
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
1818

19-
- name: Get Core Dependencies
19+
- name: 🕸️ Get Core Dependencies
2020
uses: ./.github/workflows/actions/get-core-dependencies
2121

22-
- name: Download Build Archive
22+
- name: 📥 Download Build Archive
2323
uses: ./.github/workflows/actions/download-archive
2424
with:
2525
name: stencil-core
2626
path: .
2727
filename: stencil-core-build.zip
2828

29-
- name: Bundler Tests
29+
- name: 🧪 Bundler Tests
3030
run: npm run test.bundlers
3131
shell: bash
3232

33-
- name: Check Git Context
33+
- name: 🔍 Check Git Context
3434
uses: ./.github/workflows/actions/check-git-context

0 commit comments

Comments
 (0)