-
Notifications
You must be signed in to change notification settings - Fork 6
46 lines (37 loc) · 1.16 KB
/
pr-artifacts.yaml
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
name: Build and Package Extensions
on:
pull_request:
workflow_dispatch:
jobs:
build-zips:
runs-on: ubuntu-latest
steps:
- name: Get code
uses: actions/checkout@v4
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Install dependencies
run: npm ci
- name: Build and Package Extensions
run: npm run build:all
- name: Upload prod extension artifact (unzipped)
uses: actions/upload-artifact@v4
with:
name: extensions-prod
path: build/prod/*
- name: Upload release extension artifact (zipped)
uses: actions/upload-artifact@v4
with:
name: extensions-releases
path: build/releases/*
report:
needs: [build-zips]
if: failure()
runs-on: ubuntu-latest
steps:
- name: Report
run: |
echo "Something went wrong"
echo "${{ toJSON(github) }}"