Skip to content

Merge pull request #7 from zmkfirmware/release-please--branches--main… #16

Merge pull request #7 from zmkfirmware/release-please--branches--main…

Merge pull request #7 from zmkfirmware/release-please--branches--main… #16

Workflow file for this run

on:
push:
branches:
- main
permissions: {}
name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: googleapis/release-please-action@v4
id: release
with:
token: ${{ secrets.ZMK_STUDIO_RELEASE_TOKEN }}
release-type: node
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
submodules: true
- uses: actions/setup-node@v4
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- name: Install Protoc
uses: arduino/setup-protoc@v3
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.ZMK_STUDIO_NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}