-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (33 loc) · 1.06 KB
/
Copy pathpromotion.yml
File metadata and controls
37 lines (33 loc) · 1.06 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
name: Release promotion
on:
pull_request:
branches: [main]
types: [opened, synchronize, reopened, ready_for_review, edited]
permissions:
contents: read
concurrency:
group: promotion-${{ github.event.pull_request.number }}
cancel-in-progress: true
jobs:
ready:
name: Release ready
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- name: Check out the proposed release head
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
with:
node-version: 22
cache: npm
- name: Install validation dependencies
run: npm ci --ignore-scripts
- name: Verify published version and README without building a package
env:
GH_TOKEN: ${{ github.token }}
run: node scripts/release-pipeline.mjs verify-promotion