build(deps): update dependency vite to ^6.0.5 #662
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Node.js CI | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [main] | |
paths: | |
- '**.ts' | |
- '**/package.json' | |
- 'pnpm-lock.yaml' | |
- '.github/workflows/*.yml' | |
push: | |
branches: [main] | |
paths: | |
- '**.ts' | |
- '**/package.json' | |
- 'pnpm-lock.yaml' | |
- '.github/workflows/*.yml' | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }} | |
env: | |
CI: true | |
NPM_VERSION: 21.7.2 | |
jobs: | |
ci: | |
name: Node.js CI | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- name: Setup PNPM | |
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0 | |
# Install version depends on package.json `packageManager` field | |
- name: Setup Node.js | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: ${{ env.NPM_VERSION }} | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile --prefer-offline | |
- name: Run build | |
run: pnpm run build | |
- name: Run integration test | |
run: pnpm run test |