mirror of
https://github.com/azure/login.git
synced 2026-06-05 19:53:31 +00:00
* 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
35 lines
619 B
YAML
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
|