From 16b1bf00b4e843e43e0be4d9b2077b533d389133 Mon Sep 17 00:00:00 2001 From: Ayo Date: Sun, 5 Jul 2026 19:29:58 +0200 Subject: [PATCH] ci: drop gh packages publish --- .github/workflows/release.yml | 38 ----------------------------------- 1 file changed, 38 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c066105..679ffa1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,41 +60,3 @@ jobs: fi echo "Publishing $VERSION to dist-tag '$TAG'" npm publish --access public --tag "$TAG" - - publish-gh-packages: - name: Publish to GitHub Packages - runs-on: ubuntu-latest - permissions: - contents: read - packages: write - steps: - - uses: actions/checkout@v6 - - - uses: pnpm/action-setup@v4 - with: - version: 11 - - - uses: actions/setup-node@v6 - with: - node-version-file: .nvmrc - registry-url: 'https://npm.pkg.github.com' - cache: pnpm - - - run: pnpm install --frozen-lockfile - - run: pnpm build - - - name: Scope package name for GitHub Packages - run: npm pkg set name="web-component-base" - - - name: Publish - run: | - VERSION="$(node -p "require('./package.json').version")" - if [[ "$VERSION" == *-* ]]; then - TAG="${VERSION#*-}"; TAG="${TAG%%.*}" - else - TAG="latest" - fi - echo "Publishing $VERSION to dist-tag '$TAG'" - npm publish --access public --tag "$TAG" - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}