Update node version from 20 to 22 for ci github action for tests #798
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: | |
build_test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: ['22.x'] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: 🌎 install dependencies | |
run: npm ci --unsafe-perm && cd apps/front && npm ci --unsafe-perm | |
- name: ⚡️build front | |
run: npm run front:build | |
- name: 🙏🏽 test | |
run: npm run front:test |