Skip to content

Commit

Permalink
chore: update dependencies and workflows (#185)
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Jan 19, 2024
1 parent c749aca commit 4002461
Show file tree
Hide file tree
Showing 9 changed files with 1,448 additions and 5,499 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lactame.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17.x'
distribution: 'temurin'
java-version: '21'
- name: Install GWT
run: ./scripts/get-gwt.sh
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install dependencies
Expand All @@ -22,18 +22,18 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [18.x, 20.x, 21.x]
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17.x'
distribution: 'temurin'
java-version: '21'
- name: Install GWT
run: ./scripts/get-gwt.sh
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,15 @@ jobs:
- 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
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: '17.x'
distribution: 'temurin'
java-version: '21'
if: ${{ steps.release.outputs.release_created }}
- name: Install GWT
run: ./scripts/get-gwt.sh
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
lockfile-version=2
lockfile-version=3
2 changes: 1 addition & 1 deletion benchmark/molfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ suite
console.log(String(event.target));
})
.on('complete', function onComplete() {
console.log(`Fastest is ${this.filter('fastest').map('name')}`);
console.log(`Fastest is ${suite.filter('fastest').map('name')}`);
})
.run();
2 changes: 1 addition & 1 deletion benchmark/sssearcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ suite
console.log(String(event.target));
})
.on('complete', function onComplete() {
console.log(`Fastest is ${this.filter('fastest').map('name')}`);
console.log(`Fastest is ${suite.filter('fastest').map('name')}`);
})
.run();
Loading

0 comments on commit 4002461

Please sign in to comment.