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
12 changes: 10 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '22.x']
node-version: ['24.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -20,8 +20,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install latest npm
run: npm install -g npm@11.4.2
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Prepare
run: npm run prepare
- name: Compile
run: npm run ci:compile
- name: Check Code Style
Expand All @@ -38,7 +42,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['20.x', '22.x']
node-version: ['24.x']
steps:
- name: Checkout Code
uses: actions/checkout@v4
Expand All @@ -49,8 +53,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install latest npm
run: npm install -g npm@11.4.2
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Prepare
run: npm run prepare
- name: Compile
run: npm run ci:compile
- name: Check Code Style
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,14 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '24.x'
cache: 'npm'
- name: Install latest npm
run: npm install -g npm@11.4.2
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: Prepare
run: npm run prepare
- name: Calculate Code Coverage
run: npm run ci:coverage
env:
Expand All @@ -30,7 +34,7 @@ jobs:
mv coverage coverage-pr
git fetch
git checkout origin/${{ github.event.pull_request.base.ref }}
npm ci --ignore-scripts && npm run ci:coverage
npm ci --ignore-scripts && npm run prepare && npm run ci:coverage
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISH }}
- name: Post Coverage Report
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 checkdigit
Copyright (c) 2025 checkdigit

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions check-imports/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Imports
description: Ensure imported packages are allowed for use.
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/check-imports/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/check-imports/index.ts
6 changes: 3 additions & 3 deletions check-label/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Label
description: Check package.json version bump matches label
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/check-label/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/check-label/index.ts
6 changes: 3 additions & 3 deletions check-pr-reviews/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Pull Request Reviews
description: Checks that a Pull request has been reviewed by all reviewers attached to the pull request
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/check-pr-reviews/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/check-pr-reviews/index.ts
6 changes: 3 additions & 3 deletions check-published/action.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Check Published
description: Ensure version in main is published to NPM registry
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/check-published/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/check-published/index.ts
6 changes: 3 additions & 3 deletions comment-npm-publish/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ inputs:
description: published beta package
required: true
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/comment-npm-publish/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/comment-npm-publish/index.ts
6 changes: 3 additions & 3 deletions coverage-reporter/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,6 @@ inputs:
description: Title to add to the comment
required: false
runs:
using: node20
pre: '../setup.mjs'
main: ../dist-mjs/coverage-reporter/index.mjs
using: node24
pre: '../src/setup.ts'
main: ../src/coverage-reporter/index.ts
1 change: 1 addition & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export { default } from '@checkdigit/eslint-config';
Loading
Loading