Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
- uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
- run: npm run build
- run: npm run build:declarations
- run: npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
15 changes: 0 additions & 15 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,6 @@ jobs:
- name: Formatting
run: npm run fmt:check

test:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
- name: Test
run: npm run test:cov
- name: Report coverage
uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
file: ./coverage/lcov.info
fail_ci_if_error: true

build:
runs-on: ubuntu-latest
steps:
Expand Down
32 changes: 6 additions & 26 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
<h2 align="center">π-Base Core</h2>
<h2 align="center">π-Base Dev Tools</h2>
<div align="center">

[![Test](https://github.com/pi-base/core/workflows/Test/badge.svg?branch=main)](https://github.com/pi-base/core/actions/workflows/test.yml)
[![codecov](https://codecov.io/gh/pi-base/core/branch/main/graph/badge.svg?token=7JO1N1OXJB)](https://codecov.io/gh/pi-base/core)

<!-- TODO: [![Release](https://github.com/pi-base/core/workflows/Release/badge.svg?branch=main)](https://github.com/pi-base/code/actions/workflows/release.yml) -->
<!-- TODO: npm badge -->
[![Audit](https://github.com/pi-base/dev/workflows/CodeQL/badge.svg?branch=main)](https://github.com/pi-base/dev/actions/workflows/codeql.yml)
[![Test](https://github.com/pi-base/dev/workflows/Test/badge.svg?branch=main)](https://github.com/pi-base/dev/actions/workflows/test.yml)
[![Release](https://github.com/pi-base/dev/workflows/Release/badge.svg?branch=main)](https://github.com/pi-base/code/actions/workflows/release.yml)
[![NPM](https://img.shields.io/npm/v/@pi-base/dev?color=blue)](https://www.npmjs.com/package/@pi-base/dev)

<div align="center">

Shared data model for the [π-Base viewer](https://github.com/pi-base/viewer) and associated utilities.

## Local Development

Clone the repo and then run

```bash
$ npm install
$ npm run test
```

See the [viewer](https://github.com/pi-base/viewer) and [compiler](https://github.com/pi-base/compile) for examples of usage. This package is mostly internal implementation details, and tends to be fluid and sparsely documented. If you are interested in building on top of this package, please reach out so we can better support you.

# Releasing

```bash
$ npm run build
$ npm run test
$ npm publish
```
Shared developer tools for π-Base packages.
2 changes: 1 addition & 1 deletion bin/build
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Promise.all(builds).then(results => {
console.log('Watching for changes')
} else {
for (const result of results) {
report(result)
report(null, result)
}
}
}).catch(error => {
Expand Down
Loading