Skip to content

Commit

Permalink
chore: update github actions and dev dependencies (#431)
Browse files Browse the repository at this point in the history
* chore: update github actions and dev dependencies

Signed-off-by: Marin Petrunic <marin.petrunic@gmail.com>

* chore: downgrade aegir

Signed-off-by: Marin Petrunic <marin.petrunic@gmail.com>

---------

Signed-off-by: Marin Petrunic <marin.petrunic@gmail.com>
  • Loading branch information
mpetrunic authored Jun 24, 2024
1 parent a3b517b commit bc29018
Show file tree
Hide file tree
Showing 4 changed files with 26 additions and 26 deletions.
40 changes: 20 additions & 20 deletions .github/workflows/js-test-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -26,11 +26,11 @@ jobs:
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macos-latest]
node: [16]
node: [18,20]
fail-fast: true
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -44,8 +44,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand Down Expand Up @@ -74,8 +74,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -89,8 +89,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -104,8 +104,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -119,8 +119,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -134,8 +134,8 @@ jobs:
needs: check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: lts/*
- uses: ipfs/aegir/actions/cache-node-modules@master
Expand All @@ -153,15 +153,15 @@ jobs:
package-name: release-please-action
changelog-types: '[{"type":"feat","section":"Features","hidden":false},{"type":"fix","section":"Bug Fixes","hidden":false},{"type":"chore","section":"Miscellaneous","hidden":true}]'

- uses: actions/checkout@v3
- uses: actions/checkout@v4
if: ${{ steps.release.outputs.release_created }}
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
if: ${{ steps.release.outputs.release_created }}
with:
node-version: 16
node-version: 18
registry-url: 'https://registry.npmjs.org'

- uses: ipfs/aegir/actions/cache-node-modules@master
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18
18.19
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,23 +90,23 @@
"@libp2p/daemon-client": "^8.0.1",
"@libp2p/daemon-server": "^7.0.1",
"@libp2p/interface-compliance-tests": "^5.0.5",
"@libp2p/interop": "^10.0.0",
"@libp2p/interop": "^12.1.0",
"@libp2p/logger": "^4.0.0",
"@libp2p/peer-id-factory": "^4.0.4",
"@libp2p/tcp": "^9.0.0",
"@multiformats/multiaddr": "^12.1.0",
"@types/sinon": "^17.0.1",
"aegir": "^42.2.0",
"aegir": "^43.0.0",
"benchmark": "^2.1.4",
"execa": "^8.0.1",
"execa": "^9.3.0",
"go-libp2p": "^1.0.3",
"iso-random-stream": "^2.0.2",
"it-byte-stream": "^1.0.0",
"libp2p": "^1.0.8",
"mkdirp": "^3.0.0",
"p-defer": "^4.0.0",
"protons": "^7.0.0",
"sinon": "^17.0.1"
"sinon": "^18.0.0"
},
"browser": {
"./dist/src/crypto/index.js": "./dist/src/crypto/index.browser.js"
Expand Down
2 changes: 1 addition & 1 deletion test/interop.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async function createGoPeer (options: SpawnOptions): Promise<Daemon> {
'-hostAddrs=/ip4/0.0.0.0/tcp/0'
]

if (options.noise === true) {
if (options.encryption === 'noise') {
opts.push('-noise=true')
}

Expand Down

0 comments on commit bc29018

Please sign in to comment.