Skip to content
This repository was archived by the owner on Aug 24, 2021. It is now read-only.

Commit d8080af

Browse files
authored
chore: ci and prepare (#75)
1 parent 57eeec4 commit d8080af

File tree

3 files changed

+19
-19
lines changed

3 files changed

+19
-19
lines changed

.github/workflows/main.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- uses: actions/checkout@v2
15-
- run: yarn
16-
- run: yarn lint
17-
- run: yarn build
18-
- uses: gozala/typescript-error-reporter-action@v1.0.4
19-
- run: yarn aegir dep-check -- -i aegir
15+
- run: npm install
16+
- run: npx aegir lint
17+
- uses: gozala/typescript-error-reporter-action@v1.0.8
18+
- run: npx aegir build
19+
- run: npx aegir dep-check
2020
- uses: ipfs/aegir/actions/bundle-size@master
2121
name: size
2222
with:
@@ -34,34 +34,34 @@ jobs:
3434
- uses: actions/setup-node@v1
3535
with:
3636
node-version: ${{ matrix.node }}
37-
- run: yarn
38-
- run: npx nyc --reporter=lcov npm run test:node -- --bail
37+
- run: npm install
38+
- run: npx nyc --reporter=lcov aegir test -t node -- --bail
3939
- uses: codecov/codecov-action@v1
4040
test-chrome:
4141
needs: check
4242
runs-on: ubuntu-latest
4343
steps:
4444
- uses: actions/checkout@v2
45-
- run: yarn
46-
- run: yarn aegir test -t browser -t webworker
45+
- run: npm install
46+
- run: npx aegir test -t browser -t webworker --bail
4747
test-firefox:
4848
needs: check
4949
runs-on: ubuntu-latest
5050
steps:
5151
- uses: actions/checkout@v2
52-
- run: yarn
53-
- run: yarn aegir test -t browser -t webworker -- --browsers FirefoxHeadless
52+
- run: npm install
53+
- run: npx aegir test -t browser -t webworker --bail -- --browsers FirefoxHeadless
5454
test-electron-main:
5555
needs: check
5656
runs-on: ubuntu-latest
5757
steps:
5858
- uses: actions/checkout@v2
59-
- run: yarn
60-
- run: npx xvfb-maybe yarn aegir test -t electron-main --bail
59+
- run: npm install
60+
- run: npx xvfb-maybe aegir test -t electron-main --bail
6161
test-electron-renderer:
6262
needs: check
6363
runs-on: ubuntu-latest
6464
steps:
6565
- uses: actions/checkout@v2
66-
- run: yarn
67-
- run: npx xvfb-maybe yarn aegir test -t electron-renderer --bail
66+
- run: npm install
67+
- run: npx xvfb-maybe aegir test -t electron-renderer --bail

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
js-multibase <!-- omit in toc -->
22
============
33

4-
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)
5-
[![](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)
6-
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=%23ipfs)
4+
[![pl](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](https://protocol.ai)
5+
[![project](https://img.shields.io/badge/project-multiformats-blue.svg?style=flat-square)](https://github.com/multiformats/multiformats)
6+
[![irc](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](https://webchat.freenode.net/?channels=%23ipfs)
77
[![codecov](https://img.shields.io/codecov/c/github/multiformats/js-multibase.svg?style=flat-square)](https://codecov.io/gh/multiformats/js-multibase)
88
[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/multiformats/js-multibase/ci?label=ci&style=flat-square)](https://github.com/multiformats/js-multibase/actions?query=branch%3Amaster+workflow%3Aci+)
99

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"main": "src/index.js",
2222
"repository": "github:multiformats/js-multibase",
2323
"scripts": {
24+
"prepare": "aegir build",
2425
"lint": "aegir lint",
2526
"test": "aegir test",
2627
"test:node": "aegir test -t node",
2728
"test:browser": "aegir test -t browser",
28-
"build": "aegir build",
2929
"docs": "aegir docs",
3030
"release": "aegir release --docs",
3131
"release-minor": "aegir release --type minor --docs",

0 commit comments

Comments
 (0)