From e3117f5d05a1c2dffc1ec3ce06e5dea3d9791da3 Mon Sep 17 00:00:00 2001 From: gnbm Date: Wed, 29 Oct 2025 11:40:30 +0000 Subject: [PATCH 1/4] Add icons to action steps --- .github/workflows/release.yml | 7 ++++--- .github/workflows/test-component-starter.yml | 16 ++++++++-------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e64304d..e6e9d16 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -63,8 +63,9 @@ jobs: runs-on: ubuntu-latest permissions: id-token: write + contents: read steps: - - name: Checkout Code + - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: stenciljs/.github/actions/publish-npm@main with: @@ -74,13 +75,13 @@ jobs: release_create_stencil_cli: if: inputs.devRelease == 'no' - name: Publish Create Stencil CLI + name: πŸš€ Publish Create Stencil CLI needs: [build_cli] runs-on: ubuntu-latest permissions: id-token: write steps: - - name: Checkout Code + - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - uses: stenciljs/.github/actions/publish-npm@main diff --git a/.github/workflows/test-component-starter.yml b/.github/workflows/test-component-starter.yml index 08a9c81..264dd40 100644 --- a/.github/workflows/test-component-starter.yml +++ b/.github/workflows/test-component-starter.yml @@ -15,40 +15,40 @@ jobs: os: ['ubuntu-latest', 'windows-latest', 'macos-latest'] runs-on: ${{ matrix.os }} steps: - - name: Checkout Code + - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - name: Get Core Dependencies + - name: πŸ•ΈοΈ Get Core Dependencies uses: stenciljs/.github/actions/get-core-dependencies@main - - name: Use Node ${{ matrix.node }} + - name: 🟒 Use Node ${{ matrix.node }} uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 with: node-version: ${{ matrix.node }} cache: 'npm' - - name: Download Build Archive + - name: πŸ“₯ Download Build Archive uses: stenciljs/.github/actions/download-archive@main with: name: stencil-cli path: . filename: stencil-cli-build.zip - - name: Initialize the Project + - name: πŸ”ƒ Initialize the Project run: node index.js component tmp-component-starter shell: bash - - name: Install Component Starter Dependencies + - name: πŸ“¦ Install Component Starter Dependencies run: npm install working-directory: ./tmp-component-starter shell: bash - - name: Build Starter Project + - name: πŸ—οΈ Build Starter Project run: npm run build working-directory: ./tmp-component-starter shell: bash - - name: Test Starter Project + - name: πŸ§ͺ Test Starter Project run: npm run test -- --no-build # the project was just built, don't build it again working-directory: ./tmp-component-starter shell: bash From 0724cb5cd9bc36fb76b4e4ff8cecbca0dade1adf Mon Sep 17 00:00:00 2001 From: gnbm Date: Wed, 29 Oct 2025 15:52:38 +0000 Subject: [PATCH 2/4] Update release yaml to use trusted publishers approach --- .github/workflows/release.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e6e9d16..4fe0e0d 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,7 @@ on: permissions: contents: write + id-token: write jobs: build_cli: @@ -67,11 +68,11 @@ jobs: steps: - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: stenciljs/.github/actions/publish-npm@main + - name: πŸ“¦ Publish Dev Build + uses: stenciljs/.github/actions/publish-npm@main with: tag: dev version: ${{ needs.get_dev_version.outputs.dev-version }} - token: ${{ secrets.NPM_TOKEN }} release_create_stencil_cli: if: inputs.devRelease == 'no' @@ -80,15 +81,16 @@ jobs: runs-on: ubuntu-latest permissions: id-token: write + contents: write steps: - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - - uses: stenciljs/.github/actions/publish-npm@main + - name: πŸ“¦ Publish Release + uses: stenciljs/.github/actions/publish-npm@main with: tag: latest version: ${{ inputs.releaseType }} - token: ${{ secrets.NPM_TOKEN }} - github-token: ${{ secrets.GH_ADMIN_PAT }} + github-token: ${{ github.token }} \ No newline at end of file From d2c22e61363e0bbc15fd72dd58ece421545fe19f Mon Sep 17 00:00:00 2001 From: gnbm Date: Wed, 29 Oct 2025 22:54:36 +0000 Subject: [PATCH 3/4] Added commit for temporary test --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4fe0e0d..d21da7f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -87,7 +87,7 @@ jobs: uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: πŸ“¦ Publish Release - uses: stenciljs/.github/actions/publish-npm@main + uses: stenciljs/.github/actions/publish-npm@e9945bdf51e97eee158513427ecf7be3d3a80443 # temp fix for trusted publishers with: tag: latest version: ${{ inputs.releaseType }} From b59c34a4cda14a8a2e93866c34b7cab9e0b0b9c8 Mon Sep 17 00:00:00 2001 From: gnbm Date: Wed, 29 Oct 2025 23:05:16 +0000 Subject: [PATCH 4/4] Update release.yml --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d21da7f..8ef44a3 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -69,7 +69,7 @@ jobs: - name: πŸ“₯ Checkout Code uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: πŸ“¦ Publish Dev Build - uses: stenciljs/.github/actions/publish-npm@main + uses: stenciljs/.github/actions/publish-npm@e9945bdf51e97eee158513427ecf7be3d3a80443 # temp fix for trusted publishers with: tag: dev version: ${{ needs.get_dev_version.outputs.dev-version }}