login/.github/workflows/ci.yml
Yan Xu ce6a9ff965
upgrade nodejs from 20 to 24 and update dependencies (#578)
* upgrade nodejs from 20 to 24 and update dependencies

* update installation step of ps

* update az account count check

* upgrade actions/checkout and actions/setup-node from 4 to 6

* remove empty lines
2026-03-17 15:51:08 +08:00

35 lines
619 B
YAML

name: Build and Test
on:
pull_request:
branches:
- master
push:
branches:
- master
jobs:
build_test_job:
name: 'Build and test job'
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest]
steps:
- name: 'Checking out repo code'
uses: actions/checkout@v6
- name: Set Node.js 24.x for GitHub Action
uses: actions/setup-node@v6
with:
node-version: 24.x
- name: 'Validate build'
run: |
npm install
npm run build
- name: 'Run L0 tests'
run: |
npm run test