Skip to content

Commit

Permalink
Bump dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
kigawas committed Dec 7, 2023
1 parent 0ec0f7e commit ca0c01d
Show file tree
Hide file tree
Showing 6 changed files with 194 additions and 203 deletions.
3 changes: 2 additions & 1 deletion .cspell.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
"Codacy",
"Codecov",
"consts",
"eciespy",
"ecies",
"eciesjs",
"eciespy",
"eth",
"futoin-hkdf",
"helloworld",
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ jobs:
registry-url: "https://registry.npmjs.org"
- run: yarn install
- run: npm test -- --bail --ci
- run: npm run build && npm publish
- run: npm run build && npm publish --tag v0.3-latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
22 changes: 6 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,28 @@ name: Build

on:
push:
branches: [master]
branches: [v0.3.x]

pull_request:
branches: [master]
branches: [v0.3.x]

jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node: [14, 16, 18, 20]
node: [18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
**/node_modules
key: ${{ runner.os }}-${{ matrix.node }}-yarn-${{ hashFiles('**/yarn.lock') }}
cache: yarn
cache-dependency-path: yarn.lock

- run: yarn install && npm test -- --bail --ci

- uses: codecov/codecov-action@v3

- run: npm run build && npm publish --dry-run
- run: npm run build && npm publish --dry-run --tag v0.3-latest
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ readonly compressed: Buffer;

## Release Notes

### 0.3.1 ~ 0.3.18
### 0.3.1 ~ 0.3.19

- Revamp tests
- Support Node 18, 20
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@
},
"repository": {
"type": "git",
"url": "https://github.com/ecies/js.git"
"url": "git+https://github.com/ecies/js.git"
},
"version": "0.3.18",
"version": "0.3.19",
"dependencies": {
"@types/secp256k1": "^4.0.4",
"@types/secp256k1": "^4.0.6",
"futoin-hkdf": "^1.5.3",
"secp256k1": "^5.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.5",
"@types/node": "^20.8.6",
"@types/node-fetch": "^2.6.6",
"@types/jest": "^29.5.10",
"@types/node": "^20.10.3",
"@types/node-fetch": "^2.6.9",
"https-proxy-agent": "^7.0.2",
"jest": "^29.7.0",
"node-fetch": "^2.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "^5.3.2"
}
}
Loading

0 comments on commit ca0c01d

Please sign in to comment.