Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/manualRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
23 changes: 18 additions & 5 deletions .github/workflows/onRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/prefab-common