diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index ce81abd..804ea2e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -8,21 +8,8 @@ permissions: contents: read jobs: - build-library: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v5.0.0 - - - name: Setup - uses: ./.github/actions/setup - - - name: Build package - run: yarn build - release: runs-on: ubuntu-latest - needs: [build-library] permissions: id-token: write contents: write @@ -38,6 +25,9 @@ jobs: - name: Setup uses: ./.github/actions/setup + - name: Build package + run: yarn build + - name: Build tarball run: | mkdir -p release @@ -46,6 +36,6 @@ jobs: - name: Run semantic-release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} -# TODO: remove NPM_TOKEN + # TODO: remove NPM_TOKEN NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn release