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: 7 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Workflow actions are pinned to commit SHAs; this keeps the pins (and their version comments) current.
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ jobs:
node: [22, 24] # engines floor (22.13+) and latest
name: node ${{ matrix.node }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: ${{ matrix.node }}
cache: npm
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
tag: ${{ steps.version.outputs.tag }}
should_release: ${{ steps.version.outputs.should_release }}
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- id: version
name: Resolve version and decide whether to release
run: |
Expand All @@ -58,11 +58,12 @@ jobs:
contents: read
id-token: write # npm provenance (OIDC), no long-lived NPM_TOKEN
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
with:
node-version: 24
cache: npm
# No dependency cache in the publish job: a poisoned cache could reach the OIDC token.
package-manager-cache: false
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run lint
Expand All @@ -82,7 +83,7 @@ jobs:
permissions:
contents: write # create the tag and GitHub Release
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- name: Create GitHub Release (skipped if it already exists)
run: |
if gh release view "$TAG" > /dev/null 2>&1; then
Expand Down
Loading