This repository has been archived by the owner on May 18, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 0
55 lines (53 loc) · 1.82 KB
/
prepare-release.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
name: "[Prototype] Prepare Release"
on:
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Use Node.js 20
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Checkout PnP PowerShell VS Code Extension
uses: actions/checkout@v4
with:
path: pnp-powershell-extension
- name: Checkout PnP PowerShell
uses: actions/checkout@v4
with:
repository: pnp/powershell
path: powershell
- name: Checkout PnP Script Samples
uses: actions/checkout@v4
with:
repository: pnp/script-samples
path: script-samples
- name: Run create script samples script
run: .\pnp-powershell-extension\scripts\createScriptSampleDefenition.ps1 -PathToWorkspace ".\"
shell: pwsh
continue-on-error: false
- name: Run create snippet defenition script
run: .\pnp-powershell-extension\scripts\createSnippetDefenition.ps1 -PathToWorkspace ".\"
shell: pwsh
continue-on-error: false
- name: Run update package version script
run: .\pnp-powershell-extension\scripts\updatePackageVersion.ps1 -PathToWorkspace ".\"
shell: pwsh
continue-on-error: false
- name: Install dependencies
run: npm run install:all
working-directory: cli-for-microsoft-365-extension
- name: Build
run: npm run vscode:prepublish
working-directory: cli-for-microsoft-365-extension
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
path: pnp-powershell-extension
commit-message: prepare release
branch: prepare-release
title: Prepare Release
body: Prepare Release
...