Skip to content

Commit 9d962bb

Browse files
authored
Initial CD release (#1)
1 parent b10b36f commit 9d962bb

8 files changed

Lines changed: 75 additions & 134 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ jobs:
1313
- uses: actions/checkout@v2
1414
- uses: bahmutov/npm-install@v1
1515
- run: npm run build
16+
- run: npm run build:declarations
1617
- run: npm publish
1718
env:
1819
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/test.yml

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -16,21 +16,6 @@ jobs:
1616
- name: Formatting
1717
run: npm run fmt:check
1818

19-
test:
20-
runs-on: ubuntu-latest
21-
steps:
22-
- name: Checkout code
23-
uses: actions/checkout@v2
24-
- uses: bahmutov/npm-install@v1
25-
- name: Test
26-
run: npm run test:cov
27-
- name: Report coverage
28-
uses: codecov/codecov-action@v1
29-
with:
30-
token: ${{ secrets.CODECOV_TOKEN }}
31-
file: ./coverage/lcov.info
32-
fail_ci_if_error: true
33-
3419
build:
3520
runs-on: ubuntu-latest
3621
steps:

README.md

Lines changed: 6 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,11 @@
1-
<h2 align="center">π-Base Core</h2>
1+
<h2 align="center">π-Base Dev Tools</h2>
22
<div align="center">
33

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

109
<div align="center">
1110

12-
Shared data model for the [π-Base viewer](https://github.com/pi-base/viewer) and associated utilities.
13-
14-
## Local Development
15-
16-
Clone the repo and then run
17-
18-
```bash
19-
$ npm install
20-
$ npm run test
21-
```
22-
23-
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.
24-
25-
# Releasing
26-
27-
```bash
28-
$ npm run build
29-
$ npm run test
30-
$ npm publish
31-
```
11+
Shared developer tools for π-Base packages.

bin/build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Promise.all(builds).then(results => {
3636
console.log('Watching for changes')
3737
} else {
3838
for (const result of results) {
39-
report(result)
39+
report(null, result)
4040
}
4141
}
4242
}).catch(error => {

0 commit comments

Comments
 (0)