Skip to content

Commit 64b83de

Browse files
committed
update all workflows and tests and license
1 parent 81ca0e7 commit 64b83de

25 files changed

+5895
-191
lines changed

.editorconfig

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/ci.yml

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request_target:
7+
paths:
8+
- 'src/**'
9+
- 'test/**'
10+
- '*.json'
11+
workflow_dispatch:
12+
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
node-version: [20.x, 22.x, 24.x]
18+
platform:
19+
- os: ubuntu-latest
20+
shell: bash
21+
- os: macos-latest
22+
shell: bash
23+
- os: windows-latest
24+
shell: bash
25+
- os: windows-latest
26+
shell: powershell
27+
fail-fast: false
28+
29+
runs-on: ${{ matrix.platform.os }}
30+
defaults:
31+
run:
32+
shell: ${{ matrix.platform.shell }}
33+
34+
steps:
35+
- name: Checkout Repository
36+
uses: actions/checkout@v4
37+
38+
- name: Use Nodejs ${{ matrix.node-version }}
39+
uses: actions/setup-node@v4
40+
with:
41+
node-version: ${{ matrix.node-version }}
42+
43+
- name: Install dependencies
44+
run: npm install
45+
46+
- name: Run Tests
47+
run: npm test -- -c -t0

.github/workflows/commit-if-modified.sh

Lines changed: 0 additions & 13 deletions
This file was deleted.

.github/workflows/copyright-year.sh

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/isaacs-makework.yml

Lines changed: 0 additions & 37 deletions
This file was deleted.

.github/workflows/package-json-repo.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

.github/workflows/typedoc.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Deploy static content to Pages
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
workflow_dispatch:
7+
8+
permissions:
9+
contents: read
10+
pages: write
11+
id-token: write
12+
13+
concurrency:
14+
group: "pages"
15+
cancel-in-progress: true
16+
17+
jobs:
18+
deploy:
19+
environment:
20+
name: github-pages
21+
url: ${{ steps.deployment.outputs.page_url }}
22+
runs-on: ubuntu-latest
23+
steps:
24+
- name: Checkout
25+
uses: actions/checkout@v4
26+
- name: Use Nodejs ${{ matrix.node-version }}
27+
uses: actions/setup-node@v4
28+
with:
29+
node-version: 20.x
30+
- name: Install dependencies
31+
run: npm install
32+
- name: Generate typedocs
33+
run: npm run typedoc
34+
35+
- name: Setup Pages
36+
uses: actions/configure-pages@v4
37+
- name: Upload artifact
38+
uses: actions/upload-pages-artifact@v4
39+
with:
40+
path: './docs'
41+
- name: Deploy to GitHub Pages
42+
id: deployment
43+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1-
node_modules
2-
.nyc_output
3-
coverage
1+
/node_modules
2+
/docs
3+
/dist
4+
/.tap

.prettierignore

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
/node_modules
2+
/tsconfig.json
3+
/package-lock.json
4+
/package.json
5+
/LICENSE.md
6+
/example
7+
/.github
8+
/dist
9+
/.env
10+
/tap-snapshots
11+
/.nyc_output
12+
/coverage
13+
/benchmark
14+
/.tap
15+
/test/fixture
16+
/test/fixtures
17+
/.tshy

.prettierrc.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"experimentalTernaries": true,
3+
"semi": false,
4+
"printWidth": 75,
5+
"tabWidth": 2,
6+
"useTabs": false,
7+
"singleQuote": true,
8+
"jsxSingleQuote": false,
9+
"bracketSameLine": true,
10+
"arrowParens": "avoid",
11+
"endOfLine": "lf"
12+
}

0 commit comments

Comments
 (0)