Skip to content

Commit

Permalink
Merge pull request #1 from chatwork/update_node20
Browse files Browse the repository at this point in the history
Update node 16 to 20
  • Loading branch information
okuzawats authored May 28, 2024
2 parents d2a75a5 + 67382bf commit 497d1aa
Show file tree
Hide file tree
Showing 12 changed files with 37 additions and 70 deletions.
29 changes: 0 additions & 29 deletions .coderabbit.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/mention-to-chatwork.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:
mention-to-chatwork:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"

- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand Down
18 changes: 7 additions & 11 deletions .github/workflows/release-latest-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,21 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
- name: Checkout release
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git checkout release
git merge origin/main --no-commit --no-ff
- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand All @@ -40,8 +40,4 @@ jobs:
git diff-index --quiet HEAD || (git commit -m"update build ${{ github.run_number }}" && git tag latest -f)
- name: Push changes
run: |
git push \
"https://${{ github.actor }}:${{ secrets.MY_GITHUB_TOKEN }}@github.com/${{ github.repository }}.git" \
HEAD:release \
-f \
--tags
git push origin release -f --tags
8 changes: 4 additions & 4 deletions .github/workflows/reviewer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"

- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "16"
node-version: "20"
- name: Cache npm
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: ${{ runner.os }}-npm-${{ hashFiles('**/package-lock.json') }}
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
nodejs 18.12.1
nodejs 20.9.0

1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ MIT License

Copyright (c) 2020 abeyuya
Copyright (c) 2023 shikajiro
Copyright (c) 2024 Chatwork Co., Ltd.

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Run
uses: shikajiro/actions-mention-to-chatwork@v0
uses: chatwork/actions-mention-to-chatwork@v0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
api-token: ${{ secrets.CHATWORK_API_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ inputs:
deprecationMessage: "not use."
required: false
runs:
using: "node16"
using: "node20"
main: "dist/index.js"
branding:
icon: "message-square"
Expand Down
19 changes: 9 additions & 10 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@types/lodash": "4.14.194",
"@typescript-eslint/eslint-plugin": "5.59.0",
"@typescript-eslint/parser": "5.59.0",
"@zeit/ncc": "0.22.3",
"@vercel/ncc": "^0.38.1",
"eslint": "8.38.0",
"jest": "29.5.0",
"ts-jest": "29.1.0",
Expand All @@ -31,12 +31,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/shikajiro/actions-mention-to-chatwork.git"
"url": "git+https://github.com/chatwork/actions-mention-to-chatwork.git"
},
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/shikajiro/actions-mention-to-chatwork/issues"
"url": "https://github.com/chatwork/actions-mention-to-chatwork/issues"
},
"homepage": "https://github.com/shikajiro/actions-mention-to-chatwork#readme"
"homepage": "https://github.com/chatwork/actions-mention-to-chatwork#readme"
}
2 changes: 1 addition & 1 deletion src/domain/chatwork.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,4 +61,4 @@ export const buildChatworkErrorMessage = (
].join("\n");
};
const openIssueLink =
"https://github.com/shikajiro/actions-mention-to-chatwork/issues/new";
"https://github.com/chatwork/actions-mention-to-chatwork/issues/new";

0 comments on commit 497d1aa

Please sign in to comment.