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
7 changes: 3 additions & 4 deletions .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
# "At 08:00 UTC (01:00 PT) on Monday" https://crontab.guru/#0_8_*_*_1
- cron: "0 8 * * 1"

permissions:
contents: read

jobs:
audit:
name: Audit Dependencies
Expand All @@ -29,10 +32,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund --package-lock
- name: Run Production Audit
Expand Down
22 changes: 9 additions & 13 deletions .github/workflows/ci-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ on:
required: true
type: string

permissions:
contents: read
checks: write

jobs:
lint-all:
name: Lint All
Expand Down Expand Up @@ -49,10 +53,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Lint
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
os: macos-latest
shell: bash
- name: macOS
os: macos-13
os: macos-15-intel
shell: bash
- name: Windows
os: windows-latest
Expand All @@ -92,13 +92,13 @@ jobs:
- 22.9.0
- 22.x
exclude:
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 20.17.0
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 20.x
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 22.9.0
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 22.x
runs-on: ${{ matrix.platform.os }}
defaults:
Expand Down Expand Up @@ -127,10 +127,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Add Problem Matcher
Expand Down
21 changes: 8 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ on:
# "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1
- cron: "0 9 * * 1"

permissions:
contents: read

jobs:
lint:
name: Lint
Expand All @@ -33,10 +36,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Lint
Expand All @@ -58,7 +57,7 @@ jobs:
os: macos-latest
shell: bash
- name: macOS
os: macos-13
os: macos-15-intel
shell: bash
- name: Windows
os: windows-latest
Expand All @@ -69,13 +68,13 @@ jobs:
- 22.9.0
- 22.x
exclude:
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 20.17.0
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 20.x
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 22.9.0
- platform: { name: macOS, os: macos-13, shell: bash }
- platform: { name: macOS, os: macos-15-intel, shell: bash }
node-version: 22.x
runs-on: ${{ matrix.platform.os }}
defaults:
Expand All @@ -94,10 +93,6 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
check-latest: contains(matrix.node-version, '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Add Problem Matcher
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
- cron: "0 10 * * 1"

permissions:
contents: read

jobs:
analyze:
name: Analyze
Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/post-dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Fetch Dependabot Metadata
Expand All @@ -54,7 +50,7 @@ jobs:
else
# strip leading slash from directory so it works as a
# a path to the workspace flag
echo "workspace=-w ${dependabot_dir#/}" >> $GITHUB_OUTPUT
echo "workspace=--workspace ${dependabot_dir#/}" >> $GITHUB_OUTPUT
fi

- name: Apply Changes
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ on:
- edited
- synchronize

permissions:
contents: read

jobs:
commitlint:
name: Lint Commits
Expand All @@ -33,10 +36,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Run Commitlint on Commits
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ on:
PUBLISH_TOKEN:
required: true

permissions:
contents: read
id-token: write

jobs:
publish:
name: Publish
Expand All @@ -43,10 +47,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Set npm authToken
Expand Down
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Release Please
Expand Down Expand Up @@ -121,10 +117,6 @@ jobs:
with:
node-version: 22.x
check-latest: contains('22.x', '.x')
- name: Install Latest npm
uses: ./.github/actions/install-latest-npm
with:
node: ${{ steps.node.outputs.node-version }}
- name: Install Dependencies
run: npm i --ignore-scripts --no-audit --no-fund
- name: Create Release Manager Checklist Text
Expand Down Expand Up @@ -244,6 +236,7 @@ jobs:
if: needs.release.outputs.releases
uses: ./.github/workflows/release-integration.yml
permissions:
contents: read
id-token: write
secrets:
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

!**/.gitignore
!/.commitlintrc.js
!/.eslint.config.js
!/.eslintrc.js
!/.eslintrc.local.*
!/.git-blame-ignore-revs
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^5.0.0",
"@npmcli/template-oss": "4.24.1",
"@npmcli/template-oss": "4.30.0",
"npm-package-arg": "^13.0.0",
"slash": "^3.0.0",
"tap": "^16.0.1"
Expand All @@ -52,7 +52,8 @@
},
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"version": "4.24.1",
"publish": true
"version": "4.30.0",
"publish": true,
"updateNpm": false
}
}
Loading