diff --git a/.github/workflows/lactame.yml b/.github/workflows/lactame.yml index 789a5544..a6ff32fd 100644 --- a/.github/workflows/lactame.yml +++ b/.github/workflows/lactame.yml @@ -8,7 +8,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' @@ -17,7 +17,7 @@ jobs: run: ./scripts/get-gwt.sh - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci - name: Build project diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 2b792e76..ac442f3f 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -2,17 +2,18 @@ name: Node.js CI on: push: - branches: main + branches: + - main pull_request: jobs: lint: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x - name: Install dependencies run: npm ci - name: Run ESLint @@ -21,10 +22,10 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [14.x, 16.x, 18.x] + node-version: [16.x, 18.x, 20.x] fail-fast: false steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - uses: actions/setup-java@v3 with: distribution: 'zulu' diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 747e75c8..47b9ed6c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: token: ${{ secrets.BOT_TOKEN }} release-type: node package-name: 'openchemlib' - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 # These if statements ensure that a publication only occurs when a new release is created if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-java@v3 @@ -28,7 +28,7 @@ jobs: if: ${{ steps.release.outputs.release_created }} - uses: actions/setup-node@v3 with: - node-version: 18.x + node-version: 20.x registry-url: 'https://registry.npmjs.org' if: ${{ steps.release.outputs.release_created }} - run: npm ci diff --git a/.github/workflows/typedoc.yml b/.github/workflows/typedoc.yml index 1427c89c..4048cacd 100644 --- a/.github/workflows/typedoc.yml +++ b/.github/workflows/typedoc.yml @@ -9,7 +9,7 @@ jobs: deploy: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build documentation uses: zakodium/typedoc-action@v2 with: