diff --git a/.github/workflows/edge-gateway-link.yml b/.github/workflows/edge-gateway-link.yml index 1b88f4d..9a4918c 100644 --- a/.github/workflows/edge-gateway-link.yml +++ b/.github/workflows/edge-gateway-link.yml @@ -59,21 +59,22 @@ jobs: contents: write pull-requests: write outputs: - releases_created: ${{ steps.tag-release.outputs.releases_created }} + paths_released: ${{ steps.tag-release.outputs.paths_released }} steps: - uses: googleapis/release-please-action@v4 id: tag-release with: + path: packages/edge-gateway-link + token: ${{ secrets.GITHUB_TOKEN }} + include-component-in-tag: true config-file: .github/release-please-config.json manifest-file: .github/release-please-manifest.json - token: ${{ secrets.GITHUB_TOKEN }} release: - if: github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.changelog.outputs.releases_created + if: github.event_name == 'push' && github.ref == 'refs/heads/main' && contains(fromJson(needs.changelog.outputs.paths_released), 'packages/edge-gateway-link') name: Release runs-on: ubuntu-latest needs: - test - - deploy-staging - changelog steps: - uses: actions/checkout@v4 @@ -83,7 +84,7 @@ jobs: - uses: actions/setup-node@v4 with: cache: 'pnpm' - node-version: 18 + node-version: 20 registry-url: 'https://registry.npmjs.org' - run: pnpm install - name: Deploy