1
0
Fork 0
mirror of synced 2026-06-05 17:05:15 +00:00
login/.github/workflows/azure-login-pr-check.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

31 lines
749 B
YAML

name: pr-check
on:
pull_request:
branches:
- master
- 'releases/*'
jobs:
az-login-test:
runs-on: windows-latest
steps:
- name: Checkout from PR branch
uses: actions/checkout@v6
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
# Using 24.x version as an example
- name: Set Node.js 24.x for GitHub Action
uses: actions/setup-node@v6
with:
node-version: 24.x
- name: installing node_modules
run: npm install
- name: Build GitHub Action
run: npm run build
- name: Run mock test
run: npm run test