diff --git a/.github/workflows/experimental-release.yaml b/.github/workflows/experimental-release.yaml index 409a2e2c8..396be5e6a 100644 --- a/.github/workflows/experimental-release.yaml +++ b/.github/workflows/experimental-release.yaml @@ -1,37 +1,41 @@ name: Experimental Release on: - push: + pull_request: + types: [closed] branches: - experimental jobs: release-experimental: + if: github.event.pull_request.merged == true runs-on: ubuntu-latest - permissions: - contents: read - id-token: write + # permissions: + # contents: read + # id-token: write steps: - - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'npm' - - - name: Install dependencies - run: npm ci - - - name: Build packages - run: npm run compile - - - name: Publish experimental packages - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: | - cd packages/core - npm publish --tag experimental - cd ../cli - npm publish --tag experimental + - run: echo "Hello experimental release" + + # - uses: actions/checkout@v4 + + # - name: Setup Node.js + # uses: actions/setup-node@v3 + # with: + # node-version: 20 + # cache: 'npm' + + # - name: Install dependencies + # run: npm ci + + # - name: Build packages + # run: npm run compile + + # - name: Publish experimental packages + # # env: + # # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + # run: | + # cd packages/core + # npm publish --tag experimental + # cd ../cli + # npm publish --tag experimental diff --git a/.github/workflows/require-changeset.yaml b/.github/workflows/require-changeset.yaml index 58506a3f3..f9a0bbb16 100644 --- a/.github/workflows/require-changeset.yaml +++ b/.github/workflows/require-changeset.yaml @@ -11,6 +11,9 @@ jobs: CI: true steps: - uses: actions/checkout@v3 + with: + # check out full history + fetch-depth: 0 - uses: actions/setup-node@v3 with: node-version: 20