Skip to content

Commit 4c0e9aa

Browse files
committed
Moar test coverage!
1 parent 1c54ed1 commit 4c0e9aa

37 files changed

+1612
-99
lines changed

.github/workflows/main.yml

Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
on:
2+
push:
3+
branches:
4+
- main
5+
6+
pull_request:
7+
release:
8+
types: [published]
9+
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
17+
- uses: actions/setup-node@v4
18+
with:
19+
node-version-file: package.json
20+
cache: npm
21+
22+
# Working around https://github.com/npm/cli/issues/4828
23+
# - run: npm ci
24+
- run: npm install --no-package-lock
25+
26+
- name: Check formatting
27+
run: npm run format:check
28+
29+
- name: Check syntax
30+
run: npm run lint
31+
32+
- name: Check types
33+
run: npm run typecheck
34+
35+
- name: Run tests
36+
run: npm test
37+
38+
- run: npm run build
39+
40+
publish:
41+
runs-on: ubuntu-latest
42+
if: github.event_name == 'release'
43+
needs: build
44+
45+
permissions:
46+
contents: read
47+
id-token: write
48+
49+
steps:
50+
- uses: actions/checkout@v4
51+
- uses: actions/setup-node@v4
52+
with:
53+
node-version-file: package.json
54+
cache: npm
55+
registry-url: "https://registry.npmjs.org"
56+
57+
# Working around https://github.com/npm/cli/issues/4828
58+
# - run: npm ci
59+
- run: npm install --no-package-lock
60+
61+
- run: npm run build
62+
63+
- run: npm run npm:publish:dry-run
64+
65+
- run: npm run npm:publish

.idea/puremvc-typescript-util-pipes.iml

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/Filter.html

Lines changed: 7 additions & 7 deletions
Large diffs are not rendered by default.

docs/classes/Junction.html

Lines changed: 13 additions & 13 deletions
Large diffs are not rendered by default.

docs/classes/JunctionMediator.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

docs/classes/Pipe.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

docs/classes/PipeListener.html

Lines changed: 5 additions & 5 deletions
Large diffs are not rendered by default.

docs/classes/Queue.html

Lines changed: 8 additions & 8 deletions
Large diffs are not rendered by default.

docs/classes/TeeMerge.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

docs/classes/TeeSplit.html

Lines changed: 6 additions & 6 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)