|
16 | 16 | id: release |
17 | 17 | with: |
18 | 18 | release-type: node |
19 | | - command: manifest |
20 | 19 | token: ${{ secrets.GITHUB_TOKEN }} |
21 | 20 | # The logic below handles the npm publication: |
22 | 21 | - uses: actions/checkout@v4 |
|
32 | 31 | if: ${{ steps.release.outputs.release_created }} |
33 | 32 | - run: npm run build |
34 | 33 | if: ${{ steps.release.outputs.release_created }} |
35 | | - - run: cd packages/core && npm publish --access public |
| 34 | + |
| 35 | + - name: Publish core to npm |
| 36 | + run: cd packages/core && npm publish --access public |
| 37 | + env: |
| 38 | + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 39 | + if: ${{ steps.release.outputs.release_created }} |
| 40 | + continue-on-error: true |
| 41 | + - name: Publish addons to npm |
| 42 | + run: cd packages/addons && npm publish --access public |
| 43 | + env: |
| 44 | + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 45 | + if: ${{ steps.release.outputs.release_created }} |
| 46 | + continue-on-error: true |
| 47 | + - name: Publish forms to npm |
| 48 | + run: cd packages/forms && npm publish --access public |
| 49 | + env: |
| 50 | + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 51 | + if: ${{ steps.release.outputs.release_created }} |
| 52 | + continue-on-error: true |
| 53 | + - name: Publish wizards to npm |
| 54 | + run: cd packages/wizards && npm publish --access public |
| 55 | + env: |
| 56 | + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 57 | + if: ${{ steps.release.outputs.release_created }} |
| 58 | + continue-on-error: true |
| 59 | + - name: Publish xml to npm |
| 60 | + run: cd packages/xml && npm publish --access public |
| 61 | + env: |
| 62 | + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
| 63 | + if: ${{ steps.release.outputs.release_created }} |
| 64 | + continue-on-error: true |
| 65 | + - name: Publish open-scd to npm |
| 66 | + run: cd packages/openscd && npm publish --access public |
36 | 67 | env: |
37 | 68 | NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} |
38 | 69 | if: ${{ steps.release.outputs.release_created }} |
|
0 commit comments