-
-
Notifications
You must be signed in to change notification settings - Fork 2
43 lines (34 loc) · 885 Bytes
/
node.yml
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
name: Node
on:
- push
- pull_request
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
name: Clone repository
- uses: actions/setup-node@v3
name: Setup Node.js
with:
node-version: '18'
cache: npm
- name: Install Dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Build Firefox Extension
run: npm run build:firefox
- uses: actions/upload-artifact@v3
name: Upload Firefox artifact
with:
name: aria2-integration-firefox
path: ./dist/
- name: Build Chromium Extension
run: npm run build:chromium
- uses: actions/upload-artifact@v3
name: Upload Chromium artifact
with:
name: aria2-integration-chromium
path: ./dist/