Merge pull request #166 from flowcore-io/release-please--branches--main #332
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| on: | |
| push: | |
| branches: | |
| - main | |
| env: | |
| NODE_VERSION: ">=18.12.1" | |
| name: release-please | |
| jobs: | |
| release-please: | |
| runs-on: blacksmith-4vcpu-ubuntu-2204 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Extract package name from deno.json | |
| uses: sergeysova/jq-action@v2 | |
| id: package | |
| with: | |
| cmd: "jq .name deno.json -r" | |
| - name: Setup Deno2 environment | |
| uses: denoland/setup-deno@v2 | |
| with: | |
| deno-version: v2.x | |
| - name: Deno install | |
| run: deno install --frozen-lockfile | |
| - name: Show package name | |
| run: 'echo "version ${{ steps.package.outputs.value }}"' | |
| - uses: googleapis/release-please-action@v4 | |
| with: | |
| token: ${{ secrets.FLOWCORE_MACHINE_GITHUB_TOKEN }} | |
| config-file: .github/workflows/release-please-config.json | |
| manifest-file: .github/workflows/.release-please-manifest.json |