Open-source, secure environment with real-world tools for enterprise-grade agents.
Python agentaiai-agentai-agentscode-interpretercopilotdevelopmentdevtoolsgptgpt-4javascriptllmnextjsopenaipythonreactsoftwaretypescript
Switch back to unconditional releasing
Tomas Valentaf104747510eb
diff --git a/.github/workflows/release.yml b/.github/workflows/release.ymlindex 17ee144de..94744ebe3 100644--- a/.github/workflows/release.yml+++ b/.github/workflows/release.yml@@ -36,20 +36,12 @@ jobs:virtualenvs-in-project: trueinstaller-parallel: true- - name: Create new versions- id: version- run: npm run gh:version- env:- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}-- name: Install dependencies- if: steps.version.outputs.changes == 'true'run: npm ci- name: Cache node modulesuses: actions/cache@v3id: cache-modules- if: steps.version.outputs.changes == 'true'with:path: node_moduleskey: node_modules-${{hashFiles('package-lock.json')}}@@ -57,13 +49,16 @@ jobs:- name: Run testsrun: npm run test- if: steps.version.outputs.changes == 'true'env:E2B_API_KEY: ${{ secrets.E2B_API_KEY }}+ - name: Create new versions+ run: npm run version+ env:+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}+- name: Release new versionsuses: changesets/action@v1- if: steps.version.outputs.changes == 'true'with:publish: npm run publishenv:@@ -72,7 +67,6 @@ jobs:PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}- name: Commit new versions- if: steps.version.outputs.changes == 'true'run: |git config user.name "github-actions[bot]"git config user.email "github-actions[bot]@users.noreply.github.com"diff --git a/package.json b/package.jsonindex aa96b59eb..7d7a37a09 100644--- a/package.json+++ b/package.json@@ -3,7 +3,6 @@"main": "index.js","private": true,"scripts": {- "gh:version": "echo \"name=$(npx changeset version 2>&1 | grep -q 'No unreleased changesets found' && echo 'false' || echo 'true')\" >> $GITHUB_OUTPUT && npm run postVersion --workspaces --if-present","version": "changeset version && npm run postVersion --workspaces --if-present","publish": "changeset publish && npm run postPublish --workspaces --if-present","test": "npm run test --workspaces --if-present"