Update README.md #1195
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |