forked from TiviPlus/discord-notify
-
Notifications
You must be signed in to change notification settings - Fork 3
Updates everything to latest #2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
SyncIt21
wants to merge
66
commits into
tgstation:main
Choose a base branch
from
SyncIt21:UpdateLatest
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
66 commits
Select commit
Hold shift + click to select a range
0163d70
Updates everything to latest
SyncIt21 301b7ef
Update module option in tsconfig.json
SyncIt21 f0628f3
test
SyncIt21 e65722c
Merge branch 'UpdateLatest' of https://github.com/SyncIt21/discord-no…
SyncIt21 503a05a
Update test.yml
SyncIt21 5eab778
test
SyncIt21 b82930d
never mind
SyncIt21 2255733
like this
SyncIt21 007e549
a
SyncIt21 d174ef0
again
SyncIt21 d20f22c
test
SyncIt21 76e0523
do this
SyncIt21 6576846
test
SyncIt21 fc8f408
now
SyncIt21 0be5fd2
this
SyncIt21 3e460fd
try again
SyncIt21 e736173
try this
SyncIt21 182de6a
ok like now?
SyncIt21 595c10a
update
SyncIt21 882bb8f
Update test.yml
SyncIt21 a603845
Update test.yml
SyncIt21 2f418d2
Update test.yml
SyncIt21 be2e5b8
works for push
SyncIt21 a1db5c4
test
SyncIt21 516083f
update
SyncIt21 36466b8
update
SyncIt21 ef057b0
Update title of README for Discord Notify Action
SyncIt21 389e024
Rename Discord Notify Action A to Discord Notify Action
SyncIt21 48ccfec
final patches
SyncIt21 f73feee
update lock
SyncIt21 2f1cc8e
Create New Text Document.txt
SyncIt21 335aa6f
test
SyncIt21 ef1fec6
test
SyncIt21 c63ade2
test
SyncIt21 4a31558
rename
SyncIt21 01e14bb
yup
SyncIt21 d747d1f
extra verification test
SyncIt21 0f61012
cause why not?
SyncIt21 b0af914
try again
SyncIt21 ca3f344
invert
SyncIt21 f4cf267
invert again
SyncIt21 c1a0cf1
this is correct testing
SyncIt21 b081acc
check version
SyncIt21 88c7994
maybe node version
SyncIt21 f9c5834
try again
SyncIt21 c9f120d
yup
SyncIt21 befb186
just to be sure
SyncIt21 4efc044
faaaak faak fak
SyncIt21 d1b681e
what the heck
SyncIt21 6c2fbd9
better update
SyncIt21 141e018
ahhhhh
SyncIt21 c3afcbd
idk why this doesnt work
SyncIt21 da67ae0
remove test
SyncIt21 7538faa
migrate to rollup
SyncIt21 4690034
correct
SyncIt21 8fba2fa
nyaaaa
SyncIt21 78c66f2
try with es
SyncIt21 e31dc8c
A
SyncIt21 bb9fcca
ok
SyncIt21 9ad5ef1
yup
SyncIt21 89972e2
small stuff
SyncIt21 f2a8334
I'll trust this
SyncIt21 82354ce
above one fixes it
SyncIt21 43d50b7
Modern workflow
SyncIt21 2fb4f86
whaa
SyncIt21 f979ec0
bring it back
SyncIt21 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,32 +1,45 @@ | ||
| name: 'build-test' | ||
| on: # rebuild any PRs and main branch changes | ||
| pull_request: | ||
| name: 'test' | ||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - 'releases/*' | ||
| - main | ||
| pull_request: | ||
| branches: | ||
| - main | ||
|
|
||
| jobs: | ||
| build: # make sure build/ci work properly | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - run: | | ||
| npm install | ||
| - run: | | ||
| npm run all | ||
| test: # make sure the action works on a clean machine without building | ||
| test: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@v6 | ||
| - name: discord notify all options | ||
| uses: ./ # Uses an action in the root directory | ||
| with: | ||
| webhook_url: https://http-echo-stegzilla.herokuapp.com | ||
| title: Test title | ||
| message: 'test message' | ||
| include_image: true | ||
| avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | ||
| username: TestUsername | ||
| colour: '#3371FF' | ||
| #custom_image_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | ||
| - uses: actions/checkout@v6 | ||
| - name: Setup node | ||
| uses: actions/setup-node@v6 | ||
| with: | ||
| node-version: 24.x | ||
| - name: Install dependencies | ||
| run: | | ||
| npm ci | ||
| npm ls | ||
| - name: Validate dist | ||
| run: | | ||
| cp dist/main.js main_pr.js | ||
| rm -r dist | ||
| npm install --global rollup | ||
| npm run build | ||
| npm run package | ||
| diff dist/main.js main_pr.js | ||
| if [ $? -ne 0 ]; then | ||
| echo "Files differ." | ||
| exit 1 | ||
| fi | ||
| - name: discord notify all options | ||
| uses: ./ # Uses an action in the root directory | ||
| with: | ||
| webhook_url: https://discord-notify-tg-station.requestcatcher.com/ | ||
| title: Test Title | ||
| message: Test Message | ||
| include_image: true | ||
| avatar_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | ||
| username: TestUsername | ||
| colour: '#3371FF' | ||
| #custom_image_url: https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -96,4 +96,7 @@ Thumbs.db | |
|
|
||
| # Ignore built ts files | ||
| __tests__/runner/* | ||
| lib/**/* | ||
| lib/**/* | ||
|
|
||
| # ignore tsc output files | ||
| out/ | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -44,4 +44,4 @@ inputs: | |
|
|
||
| runs: | ||
| using: 'node24' | ||
| main: 'dist/index.js' | ||
| main: 'dist/main.js' | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.