forked from Azure/azure-dev
-
Notifications
You must be signed in to change notification settings - Fork 0
36 lines (31 loc) · 855 Bytes
/
Copy pathdevops-ext-ci.yml
File metadata and controls
36 lines (31 loc) · 855 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: azureDevOps-ext-ci
on:
pull_request:
paths:
- "ext/azuredevops/**"
- ".github/workflows/devops-ext-ci.yml"
branches: [main]
# If two events are triggered within a short time in the same PR, cancel the run of the oldest event
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
actions: read
contents: read
id-token: write
jobs:
build-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install dependencies
run: |
npm install -g npm
npm install
working-directory: ./ext/azuredevops/setupAzd
- name: Test
run: npm test
working-directory: ./ext/azuredevops/setupAzd