@@ -83,29 +83,17 @@ jobs:
8383 name : " Run unit tests"
8484 needs : determine_release
8585 if : needs.determine_release.outputs.pending_version_available == 'true'
86- runs-on : ubuntu-latest
87- steps :
88- - name : Pass unit tests
89- run : |
90- echo "Unit tests passed!"
91- # TODO re-enable real tests when the release script is worked out
92- # uses: ./.github/workflows/unit-tests.yml
86+ uses : ./.github/workflows/unit-tests.yml
9387
9488 run_integration_tests :
9589 name : " Run integration tests"
9690 needs : determine_release
9791 if : needs.determine_release.outputs.pending_version_available == 'true'
98- runs-on : ubuntu-latest
99- steps :
100- - name : Pass integration tests
101- run : |
102- echo "Integration tests passed!"
103- # TODO re-enable real tests when the release script is worked out
104- # permissions:
105- # id-token: write
106- # contents: read
107- # secrets: inherit
108- # uses: ./.github/workflows/integ-tests.yml
92+ permissions :
93+ id-token : write
94+ contents : read
95+ secrets : inherit
96+ uses : ./.github/workflows/integ-tests.yml
10997
11098 release_new_version :
11199 name : " Release the new version"
@@ -162,13 +150,13 @@ jobs:
162150 echo Actual release: $NEW_VERSION
163151 exit 1
164152
165- # TODO Publish new version to npm and PyPi
153+ # Publish new version to npm and PyPi
166154 - name : Build Typescript library and publish to NPM
167155 run : |
168156 npm ci
169- # npm publish --access public
170- # env:
171- # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
157+ npm publish --access public
158+ env :
159+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
172160 working-directory : ./src/typescript
173161
174162 - name : Build Python library
@@ -177,10 +165,10 @@ jobs:
177165 ls dist/
178166 working-directory : ./src/python
179167
180- # - name: Publish to PyPI
181- # uses: pypa/gh-action-pypi-publish@release/v1
182- # with:
183- # packages-dir: ./src/python/dist
168+ - name : Publish to PyPI
169+ uses : pypa/gh-action-pypi-publish@release/v1
170+ with :
171+ packages-dir : ./src/python/dist
184172
185173 # Publish new version to GitHub
186174 - name : Push new version to GitHub
0 commit comments