-
Notifications
You must be signed in to change notification settings - Fork 0
57 lines (47 loc) · 1.34 KB
/
DEP-01_confirm-dependency-versions.yml
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# .github/workflows/DEP-01_confirm-dependency-versions.yml
name: Confirm Dependency Versions
on:
workflow_dispatch:
schedule:
- cron: "26 6 * * *"
permissions:
issues: write
env:
GH_TOKEN: ${{ github.token }} # Required for GitHub CLI.
jobs:
validate_nodejs:
name: Node.js
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Confirm PowerShell Version
shell: pwsh
run: |
# Confirm the LTS version of Node.js.
$ConfirmPreference = 'None'
./scripts/Confirm-NodejsVersion.ps1 -Verbose
validate_powershell:
name: PowerShell
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Confirm PowerShell Version
shell: pwsh
run: |
# Confirm the version of PowerShell.
$ConfirmPreference = 'None'
./scripts/Confirm-PowerShellVersion.ps1 -Verbose
validate_psresources:
name: PS Resources
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Confirm Install-PSResource.psd1
shell: pwsh
run: |
# Confirm the version of the PowerShell resources.
$ConfirmPreference = 'None'
./scripts/Confirm-PSResourceVersion.ps1 -Verbose