Skip to content

build(deps-dev): bump @types/jquery from 3.5.31 to 3.5.32 #1855

build(deps-dev): bump @types/jquery from 3.5.31 to 3.5.32

build(deps-dev): bump @types/jquery from 3.5.31 to 3.5.32 #1855

Workflow file for this run

name: CI
on:
workflow_dispatch:
pull_request:
push:
branches: main
paths:
- "docs/nodes/**"
- "examples/**"
- "src/**"
- "ui/**"
- "test/**"
- ".npmignore"
- "package*.json"
concurrency:
group: ci-${{ github.head_ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 18
- 20
node-red-version:
- "^3"
- "3.1.1"
name: Tests (Node ${{ matrix.node-version }} - node-red ${{ matrix.node-red-version }})
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: pnpm install
run: pnpm install
- name: Install exact version of node-red
run: pnpm add -D node-red@${{ matrix.node-red-version }}
- name: pnpm lint
run: pnpm run lint
- name: pnpm test
run: pnpm test
env:
CI: true
release-please:
if: ${{ github.event_name == 'push' || github.event_name == 'workflow_dispatch' }}
needs: build
runs-on: ubuntu-latest
steps:
- uses: GoogleCloudPlatform/release-please-action@v4
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
outputs:
release_created: ${{ steps.release.outputs.release_created }}
release_version: ${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
release_tag: ${{ steps.release.outputs.tag_name }}
upload-assets:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
cache: pnpm
- name: pnpm install
run: pnpm install
- name: build
run: pnpm run build
- name: Pack
run: pnpm pack
- name: Upload Release Asset
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: gh release upload ${{ needs.release-please.outputs.release_tag }} ./node-red-contrib-home-assistant-websocket-${{ needs.release-please.outputs.release_version }}.tgz
publish:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: zachowj/node-red-contrib-home-assistant-websocket/.github/workflows/publish.yml@main
secrets: inherit
publish-documentation:
needs: release-please
if: ${{ needs.release-please.outputs.release_created }}
uses: zachowj/node-red-contrib-home-assistant-websocket/.github/workflows/documentation.yml@main
secrets: inherit