Skip to content

chore(release): 0.6.156 🎉 #180

chore(release): 0.6.156 🎉

chore(release): 0.6.156 🎉 #180

Workflow file for this run

name: "Release"
on:
push:
tags: '*'
permissions:
contents: write
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm build
- run: pnpm run test:coverage
- run: pnpm publish --no-git-checks
- uses: "marvinpinto/action-automatic-releases@latest"
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false
- id: frontend-version
run: |
version=$(node -p "require('./package.json').version")
echo "::set-output name=version::$version"
- run: |
curl -XPOST -H "Authorization: token ${{ secrets.GH_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/koenkk/zigbee2mqtt/dispatches --data '{"event_type": "update_dep", "client_payload": { "version": "${{ steps.frontend-version.outputs.version }}", "package": "zigbee2mqtt-frontend"}}'