Skip to content

Commit

Permalink
Merge pull request #339 from ninoseki/renew-ci
Browse files Browse the repository at this point in the history
Renew CI
  • Loading branch information
ninoseki authored Oct 12, 2024
2 parents f572001 + 1c26a6b commit da03c81
Show file tree
Hide file tree
Showing 6 changed files with 38 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install NPM dependencies
run: npm install
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,14 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
node-version: 22
cache: npm
- name: Install NPM dependencies
run: npm install
- name: Build NPM dependencies
run: npm run build
- name: Set version via tag
run: npm version --no-git-tag-version ${{ github.event.release.tag_name }}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
strategy:
matrix:
node-version:
- 18
- 20
- 22
steps:
- uses: actions/checkout@v4
- name: Setup Node.js ${{ matrix.node-version }}
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ $ echo "1.1.1.1 8.8.8.8" | ioc-extractor --only ipv4s | jq
}
```

### As a library
### As a Library

```ts
import { extractIOC } from "ioc-extractor";
Expand Down
46 changes: 23 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ioc-extractor",
"version": "8.0.4",
"version": "0.0.0",
"description": "IoC (Indicator of Compromise) extractor",
"type": "module",
"exports": {
Expand Down Expand Up @@ -68,28 +68,28 @@
"homepage": "https://github.com/ninoseki/ioc-extractor",
"devDependencies": {
"@eslint/eslintrc": "^3.1.0",
"@eslint/js": "^9.12.0",
"@eslint/js": "^9.10.0",
"@types/eslint__js": "^8.42.3",
"@types/get-stdin": "^7.0.0",
"@types/jest": "^29.5.13",
"@types/node": "22.7.5",
"@types/jest": "^29.5.12",
"@types/node": "22.1.0",
"@types/tr46": "^5.0.0",
"coveralls": "3.1.1",
"eslint": "^9.12.0",
"eslint": "^9.10.0",
"eslint-plugin-regexp": "^2.6.0",
"eslint-plugin-simple-import-sort": "^12.1.1",
"husky": "9.1.6",
"husky": "9.1.5",
"jest": "29.7.0",
"lint-staged": "15.2.10",
"prettier": "3.3.3",
"ts-jest": "29.2.5",
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsup": "^8.3.0",
"tsup": "^8.2.4",
"tsx": "^4.19.1",
"typedoc": "0.26.9",
"typedoc": "0.26.7",
"typescript": "^5.6.2",
"typescript-eslint": "^8.8.1"
"typescript-eslint": "^8.5.0"
},
"dependencies": {
"commander": "^12.1.0",
Expand Down

0 comments on commit da03c81

Please sign in to comment.