-
Notifications
You must be signed in to change notification settings - Fork 565
53 lines (42 loc) · 1.09 KB
/
build.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
47
48
49
50
51
52
53
name: Test Build Extension
on:
push:
branches: [main]
paths:
- Extensions/combined/**
pull_request:
branches: [main]
paths:
- Extensions/combined/**
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./Extensions/combined
steps:
- name: Checkout
uses: actions/checkout@main
- name: Setup Node 20
uses: actions/setup-node@v3
with:
node-version: '20.x'
- name: Install dependencies
run: npm ci
- name: Build extension
run: npm run build
- name: 'Upload Chrome artifact'
uses: actions/upload-artifact@v4
with:
name: ryd-chrome
path: ./Extensions/combined/dist/chrome
- name: 'Upload Firefox artifact'
uses: actions/upload-artifact@v4
with:
name: ryd-firefox
path: ./Extensions/combined/dist/firefox
- name: 'Upload Safari artifact'
uses: actions/upload-artifact@v4
with:
name: ryd-safari
path: ./Extensions/combined/dist/safari