-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (38 loc) · 1.02 KB
/
extension-PR.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
name: 'extension-pr'
on:
pull_request:
branches: [main]
paths:
- 'holo-key-manager-extension/**'
merge_group:
branches: [main]
types: [checks_requested]
jobs:
build:
name: 'PR Extension Build and Test'
runs-on: ubuntu-latest
environment:
name: Extension
steps:
- uses: actions/checkout@v4
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: lts/*
- name: Install pnpm
run: npm install -g pnpm
- name: Install dependencies
run: pnpm install --no-frozen-lockfile
- name: Run unit tests
run: pnpm test
working-directory: holo-key-manager-extension
- name: Build extension
run: pnpm build
working-directory: holo-key-manager-extension
- name: Build client
run: pnpm build
working-directory: holo-key-manager-js-client
- name: Run e2e tests
run: pnpm e2e-tests
env:
CHROME_ID: ${{ vars.CHROME_ID }}