Skip to content

Commit 8ad7c9e

Browse files
authored
fix: combined actions because github (#17)
1 parent 903ee27 commit 8ad7c9e

2 files changed

Lines changed: 18 additions & 19 deletions

File tree

.github/workflows/npm-publish.yml

Lines changed: 0 additions & 19 deletions
This file was deleted.

.github/workflows/release-please.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,23 @@ permissions:
1414
jobs:
1515
release-please:
1616
runs-on: ubuntu-latest
17+
outputs:
18+
release_created: ${{ steps.release.outputs.release_created }}
1719
steps:
1820
- uses: google-github-actions/release-please-action@v4
21+
id: release
22+
build:
23+
needs: release-please
24+
if: ${{ needs.release-please.outputs.release_created }}
25+
uses: City-of-Helsinki/.github/.github/workflows/ci-node.yml@main
26+
secrets: inherit
27+
with:
28+
node-version: '22'
29+
upload_artifacts: true
30+
publish:
31+
needs: build
32+
secrets: inherit
33+
uses: City-of-Helsinki/.github/.github/workflows/ci-npm-publish.yml@main
34+
with:
35+
node-version: '22'
36+
use-ci-build: true

0 commit comments

Comments
 (0)