Skip to content

fix(deps) Update @types/node to ^26.5.0 #248

fix(deps) Update @types/node to ^26.5.0

fix(deps) Update @types/node to ^26.5.0 #248

Workflow file for this run

#
# Copyright [2021-present] [ahoo wang <ahoowang@qq.com> (https://github.com/Ahoo-Wang)].
# Licensed 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: Dashboard Test
on:
pull_request:
paths:
- '.github/workflows/dashboard-test.yml'
- 'compensation/dashboard/**'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
permissions:
contents: read
env:
CI: GITHUB_ACTIONS
jobs:
dashboard-test:
name: Dashboard Test
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 10.34.5
run_install: false
- name: Set up Node.js 24
uses: actions/setup-node@v6
with:
node-version: 24.20.0
cache: 'pnpm'
cache-dependency-path: compensation/dashboard/pnpm-lock.yaml
- name: Install Packages
working-directory: compensation/dashboard
run: pnpm install --frozen-lockfile
- name: Lint Dashboard
working-directory: compensation/dashboard
run: pnpm exec eslint .
- name: Build Dashboard
working-directory: compensation/dashboard
run: pnpm build
- name: Test Dashboard
working-directory: compensation/dashboard
run: pnpm coverage
- name: Install Chromium
working-directory: compensation/dashboard
run: pnpm exec playwright install --with-deps chromium
- name: Test Dashboard in Chromium
working-directory: compensation/dashboard
run: pnpm test:browser
- name: Upload Browser Test Report
if: failure()
uses: actions/upload-artifact@v4
with:
name: dashboard-playwright-report
path: compensation/dashboard/playwright-report/
retention-days: 7