This is an automated email from the ASF dual-hosted git repository. rzo1 pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/storm.git
commit 422bc2b83764debfc129f29b43fe007fcf802ffa Author: Richard Zowalla <[email protected]> AuthorDate: Thu Apr 2 11:43:50 2026 +0200 Add npm ecosystem to Dependabot and Cypress E2E workflow Configure Dependabot to monitor storm-webapp npm dependencies on a monthly schedule. Add a GitHub Actions workflow to run Cypress end-to-end tests on pushes and PRs touching storm-webapp --- .github/dependabot.yml | 7 +++++ .github/workflows/cypress-tests.yml | 52 +++++++++++++++++++++++++++++++++++++ 2 files changed, 59 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 2d6f2f5dc..0ed2b0087 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -31,6 +31,13 @@ updates: time: '04:00' open-pull-requests-limit: 20 + - package-ecosystem: npm + directory: "/storm-webapp" + schedule: + interval: monthly + time: '04:00' + open-pull-requests-limit: 20 + - package-ecosystem: "github-actions" directory: "/" schedule: diff --git a/.github/workflows/cypress-tests.yml b/.github/workflows/cypress-tests.yml new file mode 100644 index 000000000..2ee35bee0 --- /dev/null +++ b/.github/workflows/cypress-tests.yml @@ -0,0 +1,52 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +name: Cypress E2E Tests + +on: + push: + branches: [ "master" ] + paths: + - 'storm-webapp/**' + pull_request: + branches: [ "master" ] + paths: + - 'storm-webapp/**' + workflow_dispatch: + +jobs: + cypress-e2e: + runs-on: ubuntu-latest + defaults: + run: + working-directory: storm-webapp + steps: + - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + + - name: Set up Node.js + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 + with: + node-version: 20 + cache: npm + cache-dependency-path: storm-webapp/package-lock.json + + - name: Install dependencies + run: npm ci + + - name: Build frontend + run: npm run build + + - name: Run Cypress E2E tests + run: npm run test:e2e
