chore(deps): update node.js to v22 #5841
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: CI | |
on: push | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: ".tool-versions" | |
- name: Cache dependencies | |
uses: actions/cache@v4 | |
id: yarn-cache | |
with: | |
path: | | |
**/node_modules | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- name: Install dependencies | |
if: steps.yarn-cache.outputs.cache-hit != 'true' | |
run: yarn --frozen-lockfile | |
- name: Run Biome | |
run: yarn run lint | |
- name: Install vue3 | |
run: yarn add vue -W | |
- name: Run Jest vue3 | |
run: yarn run test:v3 | |
- name: Install vue2 | |
run: yarn add vue@2 -W | |
- name: Run Jest vue2 | |
run: yarn run test:v2 |