diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8fa12bc..4ba620b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,6 +10,7 @@ on: jobs: build: + name: Build runs-on: ubuntu-latest steps: - name: Checkout @@ -57,6 +58,7 @@ jobs: path: dist deploy-to-cloudflare-pages-staging: + name: Deploy to Cloudflare Pages Staging runs-on: ubuntu-latest needs: - build @@ -98,6 +100,7 @@ jobs: command: pages deploy dist --project-name=how-to-lookscanned deploy-to-cloudflare-pages: + name: Deploy to Cloudflare Pages runs-on: ubuntu-latest needs: - build @@ -139,6 +142,7 @@ jobs: command: pages deploy dist --project-name=how-to-lookscanned --branch=release deploy-to-github-pages: + name: Deploy to GitHub Pages runs-on: ubuntu-latest needs: - build @@ -176,6 +180,7 @@ jobs: uses: actions/deploy-pages@v4 publish-to-npm: + name: Publish to npm runs-on: ubuntu-latest needs: - build @@ -197,6 +202,7 @@ jobs: with: node-version: 20 cache: 'pnpm' + registry-url: https://registry.npmjs.org/ - name: Install dependencies run: pnpm install @@ -212,7 +218,8 @@ jobs: env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - publish-gpr: + publish-to-github-packages: + name: Publish to GitHub Packages needs: build runs-on: ubuntu-latest if: github.event_name == 'release' @@ -232,6 +239,7 @@ jobs: with: node-version: 20 cache: 'pnpm' + registry-url: https://npm.pkg.github.com/ - name: Install dependencies run: pnpm install @@ -247,6 +255,7 @@ jobs: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} upload-release: + name: Upload Assets to Release needs: build runs-on: ubuntu-latest if: github.event_name == 'release'