Skip to content
Closed
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
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,29 @@
name: CI

on:
push: {}
push:
branches: ["main"]
pull_request_target:
paths:
- 'src/**'
- 'test/**'
- '*.json'
- '*.js'
- '*.ts'
- 'lib/**'
- 'scripts/**'
- '.github/workflows/ci.yml'
- 'package.json'
workflow_dispatch:

permissions:
contents: read

jobs:
build:
strategy:
matrix:
node-version: [22.x, 24.x]
node-version: [22.x, 24.x, 25.x]
platform:
- os: ubuntu-latest
shell: bash
Expand All @@ -28,10 +38,10 @@ jobs:

steps:
- name: Checkout Repository
uses: actions/checkout@v4
uses: actions/checkout@v6

- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}

Expand Down
18 changes: 6 additions & 12 deletions .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
@@ -1,47 +1,41 @@
# Simple workflow for deploying static content to GitHub Pages
name: Deploy static content to Pages
name: typedoc

on:
# Runs on pushes targeting the default branch
push:
branches: ["main"]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow one concurrent deployment
concurrency:
group: "pages"
cancel-in-progress: true

jobs:
# Single deploy job since we're just deploying
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v6
- name: Use Nodejs ${{ matrix.node-version }}
uses: actions/setup-node@v4
uses: actions/setup-node@v6
with:
node-version: 20.x
- name: Install dependencies
run: npm install
- name: Generate typedocs
run: npm run typedoc

- name: Setup Pages
uses: actions/configure-pages@v4
uses: actions/configure-pages@v5
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
uses: actions/upload-pages-artifact@v4
with:
path: './docs'
- name: Deploy to GitHub Pages
Expand Down
4 changes: 4 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/node_modules
/tsconfig.json
/package-lock.json
/package.json
/LICENSE.md
/example
/.github
Expand All @@ -12,3 +15,4 @@
/test/fixture
/test/fixtures
/.tshy
/docs
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"experimentalTernaries": true,
"semi": false,
"printWidth": 70,
"printWidth": 75,
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
Expand Down
Loading
Loading