diff --git a/.github/workflows/check-branch.yaml b/.github/workflows/check-branch.yaml deleted file mode 100644 index 05442ba..0000000 --- a/.github/workflows/check-branch.yaml +++ /dev/null @@ -1,14 +0,0 @@ -name: Check Branch - -on: pull_request - -jobs: - check-branch: - runs-on: - - ubuntu-latest - steps: - - uses: actions/checkout@v4 - - run: node -v - - run: sudo corepack enable - - run: pnpm install --no-frozen-lockfile - - run: pnpm check-branch diff --git a/.github/workflows/check-branch.yml b/.github/workflows/check-branch.yml new file mode 100644 index 0000000..9c16c96 --- /dev/null +++ b/.github/workflows/check-branch.yml @@ -0,0 +1,7 @@ +name: Check Branch + +on: pull_request + +jobs: + check-branch: + uses: stack-spot/portal-workspace/.github/workflows/check-branch.yml@main \ No newline at end of file diff --git a/.github/workflows/publish-package.yaml b/.github/workflows/publish-package.yaml new file mode 100644 index 0000000..9f32235 --- /dev/null +++ b/.github/workflows/publish-package.yaml @@ -0,0 +1,12 @@ +on: + workflow_dispatch: + push: + tags: + - '*' + +name: publish-package + +jobs: + publish-package: + uses: stack-spot/portal-workspace/.github/workflows/publish-npm.yml@main + secrets: inherit diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..5a1ef39 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,11 @@ +on: + push: + branches: + - main + +name: release-please + +jobs: + release-please: + uses: stack-spot/portal-workspace/.github/workflows/release-please.yml@main + secrets: inherit \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..ff643aa --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,4 @@ +{ + "packages/cli": "1.1.1", + "packages/runtime": "1.4.0" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..1e8f579 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "separate-pull-requests": true, + "include-component-in-tag": true, + "tag-separator": "@", + "packages": { + "packages/cli": { + "release-type": "node" + }, + "packages/runtime": { + "release-type": "node" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +} \ No newline at end of file