diff --git a/.github/workflows/manualRelease.yml b/.github/workflows/manualRelease.yml index 53f02c5..6d37264 100644 --- a/.github/workflows/manualRelease.yml +++ b/.github/workflows/manualRelease.yml @@ -10,6 +10,7 @@ jobs: - uses: actions/checkout@v4 with: token: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} + submodules: recursive - name: Conventional Changelog Action id: changelog uses: TriPSs/conventional-changelog-action@d360fad3a42feca6462f72c97c165d60a02d4bf2 diff --git a/.github/workflows/onRelease.yml b/.github/workflows/onRelease.yml index 8876db4..1008bc0 100644 --- a/.github/workflows/onRelease.yml +++ b/.github/workflows/onRelease.yml @@ -10,10 +10,23 @@ on: description: tag that needs to publish type: string required: true + jobs: npm: - uses: oclif/github-workflows/.github/workflows/npmPublish.yml@main - with: - tag: latest - githubTag: ${{ github.event.release.tag_name || inputs.tag }} - secrets: inherit + runs-on: ubuntu-latest + permissions: + contents: read + id-token: write # required for npm OIDC trusted publishing + steps: + - uses: actions/checkout@v4 + with: + ref: ${{ github.event.release.tag_name || inputs.tag }} + submodules: recursive + - uses: actions/setup-node@v4 + with: + node-version: lts/* + cache: yarn + registry-url: https://registry.npmjs.org + - run: yarn install --network-timeout 600000 + - run: yarn build + - run: npm publish --access public diff --git a/src/prefab-common b/src/prefab-common index 49ea9d2..35ae020 160000 --- a/src/prefab-common +++ b/src/prefab-common @@ -1 +1 @@ -Subproject commit 49ea9d2dfc71416e8955362275cc1ce975b1327a +Subproject commit 35ae02089b90e428df8bd3e680210dabddddcd21