From fe45ed3c45d7eeb5107515911a319cbc4e0091a1 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 1 Oct 2024 11:25:49 +0900 Subject: [PATCH] chore(deps): update actions/setup-node digest to 0a44ba7 (#66) * chore(deps): update actions/setup-node digest to 0a44ba7 * fixed preview dns subdomain from branch ref --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kohei Watanabe --- .github/workflows/test.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index ffad39d..1bfed18 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,7 +16,7 @@ jobs: timeout-minutes: 5 steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 - - uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4 + - uses: actions/setup-node@0a44ba7841725637a19e28fa30b79a866c81b0a6 # v4 with: node-version: lts/* - name: Install dependencies @@ -26,7 +26,7 @@ jobs: - if: github.ref_name != github.event.repository.default_branch id: set_preview_env shell: bash - run: echo url="https://$(echo "${HEAD_REF:0:28}" | sed s/[^_0-9a-z]/-/gi).jwk.pages.dev/" >> "${GITHUB_OUTPUT}" + run: echo url="https://$(echo "${HEAD_REF:0:28}" | sed 's/[^_0-9a-z]/-/gi;s/-*$//').jwk.pages.dev/" >> "${GITHUB_OUTPUT}" env: HEAD_REF: ${{ github.head_ref }} - name: Run tests on ${{ env.BASE_URL }}