File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1919 with :
2020 ref : ${{ github.head_ref }}
2121
22+ - uses : pnpm/action-setup@v3
23+ with :
24+ version : 9.5
25+
26+ - name : Setup Node.js 18
27+ uses : actions/setup-node@v4
28+ with :
29+ node-version : ' 18.x'
30+ registry-url : https://registry.npmjs.org
31+ cache : pnpm
32+
33+ - name : Configure pnpm
34+ run : |
35+ pnpm config set auto-install-peers true
36+ pnpm config set exclude-links-from-lockfile true
37+
38+ - name : Install dependencies
39+ run : pnpm install --frozen-lockfile
40+
41+ - name : Test JS SDK
42+ working-directory : js
43+ run : |
44+ pnpm run test
45+ env :
46+ E2B_API_KEY : ${{ secrets.E2B_API_KEY }}
47+
48+ - name : Release JS Candidate
49+ working-directory : js
50+ run : |
51+ npm version prerelease --preid=beta
52+ npm publish --tag beta
53+ env :
54+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
55+
2256 - name : Set up Python
2357 uses : actions/setup-python@v4
2458 with :
4377 - name : Release Candidate
4478 working-directory : python
4579 run : |
80+ poetry version prerelease
4681 poetry build
4782 poetry config pypi-token.pypi ${PYPI_TOKEN} && poetry publish --skip-existing
4883 env :
You can’t perform that action at this time.
0 commit comments