diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 0c2046b..09f461b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,7 +11,7 @@ jobs: steps: # 1 – Check out the code - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # 2 – Expose the version tag as $PACKAGE_VERSION (only if this is a v* tag ref) - name: Set environment package version from tag @@ -25,20 +25,20 @@ jobs: fi # 3 – Set up Python - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.13' cache: 'pip' # 4 – Set up Node.js - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: '20.x' + node-version: '24.x' cache: 'npm' # 5 – Set up JDK 17 and enable sbt cache - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: '17' @@ -68,4 +68,4 @@ jobs: # 11 – Run tests - name: Run tests - run: pytest \ No newline at end of file + run: pytest diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index 56969e1..b0a9653 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -15,17 +15,17 @@ jobs: check-code: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 - name: Setup Node.js environment - uses: actions/setup-node@v4 + uses: actions/setup-node@v6 with: - node-version: 20.x + node-version: 24.x cache: yarn cache-dependency-path: yarn.lock - name: Setup Python - uses: actions/setup-python@v5 + uses: actions/setup-python@v6 with: python-version: '3.13' diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 7b74787..132a6b3 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -14,7 +14,7 @@ jobs: steps: # 1 – Check out the repo - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 # 2 – Expose the tag (e.g. 1.2.3) as $PACKAGE_VERSION - name: Set environment package version from tag @@ -24,20 +24,20 @@ jobs: echo "PACKAGE_VERSION=${ref#v}" >> "$GITHUB_ENV" # 3 – Set up Python - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.13' cache: 'pip' # 4 – Set up Node.js - - uses: actions/setup-node@v4 + - uses: actions/setup-node@v6 with: - node-version: '20.x' + node-version: '24.x' cache: 'npm' # 5 – Set up JDK 17 and enable sbt cache - name: Set up JDK 17 - uses: actions/setup-java@v4 + uses: actions/setup-java@v5 with: distribution: 'temurin' java-version: '17' @@ -59,4 +59,4 @@ jobs: # 9 – Publish to PyPI (Trusted Publishing) - name: Publish distribution to PyPI 🚀 - uses: pypa/gh-action-pypi-publish@release/v1 \ No newline at end of file + uses: pypa/gh-action-pypi-publish@release/v1 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 523fe13..9eb71b1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ jobs: bump-version: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: actions/checkout@v6 with: persist-credentials: false - - uses: actions/setup-python@v5 + - uses: actions/setup-python@v6 with: python-version: '3.13' - uses: BSFishy/pip-action@v1 @@ -31,4 +31,4 @@ jobs: uses: ad-m/github-push-action@master with: github_token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }} - tags: true \ No newline at end of file + tags: true diff --git a/package.json b/package.json index f818a86..28c2dea 100644 --- a/package.json +++ b/package.json @@ -29,6 +29,9 @@ "url": "https://github.com/swan-cern/sparkmonitor/issues" }, "homepage": "https://github.com/swan-cern/sparkmonitor", + "engines": { + "node": ">=24 <25" + }, "scripts": { "build": "jlpm run build:lib && jlpm run build:labextension:dev", "build:prod": "jlpm clean && jlpm run build:lib:prod && jlpm run build:labextension && jlpm run build:nbextension && jlpm run build:scalalistener",