Skip to content
Merged
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
30 changes: 2 additions & 28 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,10 @@
name: Tests

on:
push:
branches: [main]
pull_request:
branches: [main]

jobs:
build:

strategy:
matrix:
node-version: [20, 22, 24, 25]
platform: [ubuntu-latest]

runs-on: ${{ matrix.platform }}

steps:
- uses: actions/checkout@v6
with:
submodules: true
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
cache: true
run_install: true
- name: Test ${{ matrix.node-version }} ${{ matrix.platform }}
run: npm run build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
uses: cto-af/workflows/.github/workflows/node-ci.yml@main
secrets: inherit
27 changes: 4 additions & 23 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,11 @@ name: Publish Package to npmjs
on:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
environment: publish
publish:
uses: cto-af/workflows/.github/workflows/publish.yml@main
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: 24
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v4
with:
cache: true
run_install: true
- run: npm run build
- run: npm pkg delete devDependencies scripts
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
publish_branch: gh-pages
- run: npm publish --access public --provenance
with:
docs: true
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@
"@cto.af/eslint-config": "^6.2.5",
"@eslint/markdown": "^7.5.1",
"@types/node": "^25.5.0",
"eslint": "^10.0.3",
"eslint": "^10.1.0",
"eslint-plugin-jsdoc": "^62.8.0",
"superc8": "^12.3.1",
"tsdown": "^0.21.4",
"typedoc": "^0.28.17",
"typedoc": "^0.28.18",
"typescript": "^5.9.3",
"typescript-eslint": "^8.57.1"
"typescript-eslint": "^8.57.2"
},
"packageManager": "pnpm@10.32.1",
"engines": {
Expand Down
Loading