diff --git a/.github/workflows/release-components.yml b/.github/workflows/release-components.yml index 9dddd996..bc43319f 100644 --- a/.github/workflows/release-components.yml +++ b/.github/workflows/release-components.yml @@ -4,6 +4,7 @@ on: push: paths: - 'components/**' + - '.github/workflows/release-components.yml' branches: - main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml deleted file mode 100644 index aa1a28ec..00000000 --- a/.github/workflows/release.yml +++ /dev/null @@ -1,44 +0,0 @@ -# TODO: delete after npmjs.org is configured to accept release-components -name: release components - -on: - push: - paths: - - 'components/**' - branches: - - main - -permissions: - id-token: write - contents: read - -jobs: - release: - name: Release - runs-on: ubuntu-latest - - defaults: - run: - working-directory: ./components - - permissions: - contents: write - issues: write - id-token: write - pull-requests: write - - steps: - - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - with: - fetch-depth: 0 - - uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 - with: - node-version: 24.18 - registry-url: 'https://registry.npmjs.org/' - package-manager-cache: false - - run: npm ci - - run: npm audit signatures - - name: Release - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - run: npm run semantic-release