-
Notifications
You must be signed in to change notification settings - Fork 23
58 lines (47 loc) · 1.15 KB
/
main.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
46
47
48
49
50
51
52
53
54
55
56
57
58
name: Marina CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version:
- 16
os:
- ubuntu-latest
name: Node ${{ matrix.node-version }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Install Nigiri
uses: vulpemventures/nigiri-github-action@v1
- name: Enable websocat
run: docker run --net=host solsson/websocat -b ws-l:127.0.0.1:1234 tcp:127.0.0.1:50001&
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Bundle app
run: |
yarn run build
yarn run build:v3
- name: Package the extension
run: |
yarn run web-ext:build
yarn run web-ext:build:v3
- name: Lint
run: |
yarn lint
yarn prettier:check
- name: Test
run: yarn test
env:
CI: true