-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (36 loc) · 1.14 KB
/
release-contract.yml
File metadata and controls
44 lines (36 loc) · 1.14 KB
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
name: Release contract
on:
pull_request:
paths:
- '.github/workflows/release.yml'
- '.github/workflows/release-contract.yml'
- 'README.md'
- 'UPGRADING.md'
- 'docs/**'
- 'package.json'
- 'pnpm-lock.yaml'
- 'packages/toolkit/gulpfile.js'
- 'packages/toolkit/package.json'
- 'packages/react-components/package.json'
- 'packages/react-components/README.md'
- 'packages/react-components/scripts/**'
- 'scripts/release/**'
jobs:
validate:
name: Validate release contract
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '22.x'
- name: Enable Corepack and pnpm
run: |
corepack enable
corepack prepare pnpm@10.29.2 --activate
- name: Install dependencies for release-contract checks
run: pnpm install --frozen-lockfile --ignore-scripts
- name: Validate docs and release templates
run: pnpm docs:release-contract
- name: Prepare and smoke test current release artifacts
run: pnpm smoke:release-artifacts