forked from prebid/Prebid.js
-
Notifications
You must be signed in to change notification settings - Fork 2
34 lines (33 loc) · 1000 Bytes
/
PR-assignment-deps.yml
File metadata and controls
34 lines (33 loc) · 1000 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
name: Compile dependencies.json for PR assignment checks
on:
pull_request:
types: [opened, synchronize, reopened]
permissions:
contents: read
jobs:
generate_deps:
name: Generate dependencies.json
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
ref: refs/pull/${{ github.event.pull_request.number }}/head
- name: Install dependencies
uses: ./.github/actions/npm-ci
- name: Build
run: |
npx gulp build
- name: Upload dependencies.json
uses: actions/upload-artifact@v6
with:
name: dependencies.json
path: ./build/dist/dependencies.json
- name: Generate PR info
run: |
echo '{ "prNo": ${{ github.event.pull_request.number }} }' >> ${{ runner.temp}}/prInfo.json
- name: Upload PR info
uses: actions/upload-artifact@v6
with:
name: prInfo
path: ${{ runner.temp}}/prInfo.json