Skip to content

chore(release): 0.6.164 🎉 #188

chore(release): 0.6.164 🎉

chore(release): 0.6.164 🎉 #188

Workflow file for this run

name: "Release"
on:
push:
tags: '*'
permissions:
contents: write
env:
NPM_TOKEN: ${{secrets.NPM_TOKEN}}
POEDITOR_API_TOKEN: ${{secrets.POEDITOR_API_TOKEN}}
POEDITOR_PROJECT_ID: ${{secrets.POEDITOR_PROJECT_ID}}
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
- run: pnpm install --frozen-lockfile
- run: pnpm run test:coverage
- run: pnpm run i18n:download
- run: pnpm run i18n:trim
- run: pnpm build
- 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"}}'