Skip to content

Commit 885610f

Browse files
Merge pull request #1 from sourcefuse/main
feat(core): add identifier getter to class, add datetime formatting
2 parents bc3dddd + 33f3135 commit 885610f

File tree

59 files changed

+857
-465
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+857
-465
lines changed

.github/workflows/docs.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Build and Push Docs
2+
3+
on:
4+
release:
5+
types: [published]
6+
branches: [main]
7+
8+
jobs:
9+
build-and-push-docs:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
16+
- name: Use Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: "14.x"
20+
21+
- name: Install dependencies
22+
run: npm ci
23+
24+
- name: Build library
25+
run: npm run build
26+
27+
- name: Build documentation
28+
run: npm run build:docs
29+
30+
- name: Push documentation to branch
31+
uses: peaceiris/actions-gh-pages@v3
32+
with:
33+
personal_token: ${{ secrets.GITHUB_TOKEN }}
34+
publish_dir: ./docs/
35+
publish_branch: docs

.github/workflows/pull_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@ jobs:
2424
run: npm ci
2525

2626
- name: Run test
27-
run: npm test -- --no-progress --browsers=ChromeHeadlessCI
27+
run: npm run test:ci
2828

2929
- name: Comment Test Coverage
3030
uses: AthleticNet/[email protected]
3131
with:
3232
token: ${{ secrets.GITHUB_TOKEN }}
33-
path: coverage/biz-book-ui/coverage-summary.json
33+
path: coverage/workflows-creator/coverage-summary.json
3434
title: Karma Test Coverage

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/bin/sh
22
. "$(dirname "$0")/_/husky.sh"
33

4-
npm test
4+
npm run test:ci

0 commit comments

Comments
 (0)