ci: update workflow - added node 24, permission scoping & codecov pinning (#1804)

This commit is contained in:
エリス
2025-06-16 12:35:09 +09:00
committed by GitHub
parent 6b8e819f21
commit 6024465814
2 changed files with 9 additions and 2 deletions

View File

@@ -25,6 +25,10 @@ on:
branches:
- '*'
permissions:
contents: read
security-events: write
jobs:
test:
name: NodeJS ${{ matrix.node-version }} on ${{ matrix.os }}
@@ -33,7 +37,7 @@ jobs:
strategy:
matrix:
node-version: [20.x, 22.x]
node-version: [20.x, 22.x, 24.x]
os: [ubuntu-latest, windows-latest, macos-latest]
steps:
@@ -77,7 +81,7 @@ jobs:
- uses: github/codeql-action/analyze@v3
- uses: codecov/codecov-action@v4
- uses: codecov/codecov-action@b9fd7d16f6d7d1b5d2bec1a2887e65ceed900238
if: success()
with:
name: ${{ runner.os }} node.js ${{ matrix.node-version }}

View File

@@ -25,6 +25,9 @@ on:
branches:
- '*'
permissions:
contents: read
jobs:
test:
name: Audit Licenses