Skip to content

Commit

Permalink
chore: update GH actions and test on Node.js 20
Browse files Browse the repository at this point in the history
  • Loading branch information
targos committed Oct 13, 2023
1 parent 688aedd commit a270440
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lactame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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
Expand Down
11 changes: 6 additions & 5 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/typedoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit a270440

Please sign in to comment.