Bump @vitejs/plugin-react from 4.3.3 to 4.3.4 #242
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: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
workflow_dispatch: # Allows manual trigger | |
jobs: | |
build-and-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18, 20, 22] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Set up Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
check-latest: true | |
- name: Enable Corepack | |
run: corepack enable # Enable Corepack to manage Yarn versions | |
- name: Set Yarn to version 2 | |
run: yarn set version berry # Set Yarn to v2 (Berry) | |
- name: Install dependencies | |
run: yarn install | |
env: | |
YARN_ENABLE_IMMUTABLE_INSTALLS: false | |
- name: Build project | |
run: yarn build | |
- name: Run tests | |
run: yarn test |