-
-
Notifications
You must be signed in to change notification settings - Fork 1
45 lines (42 loc) · 1.17 KB
/
verify.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
44
45
name: Github Audit
on:
pull_request:
types:
- opened
- edited
push:
branches:
- main
jobs:
Audit-Pull-Request:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: oven-sh/setup-bun@v1
- uses: actions/cache@v4
with:
path: ~/.bun/install/cache
key: ${{ runner.os }}-${{ matrix.bun }}-bun-${{ hashFiles('**/bun.lockb') }}
restore-keys: |
${{ runner.os }}-${{ matrix.bun }}-bun-
- name: Install node_modules
run: bun install
working-directory: ./extension
- name: Build chrome extension
run: bun run build:chrome
working-directory: ./extension
- name: Build firefox extension
run: bun run build:firefox
working-directory: ./extension
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: chrome
path: ./extension/dist-chrome
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: firefox
path: ./extension/dist-firefox
- name: Report status
run: echo "audit=success" >> $GITHUB_OUTPUT