File tree Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Expand file tree Collapse file tree 1 file changed +11
-11
lines changed Original file line number Diff line number Diff line change 33 release :
44 types : [created]
55jobs :
6-
7- build :
8- runs-on : ubuntu-latest
9- steps :
10- - uses : actions/checkout@v3
11- - uses : actions/setup-node@v3
12- with :
13- node-version : 16
14- - run : npm ci
15- - run : npm test
166
177 publish-npm :
188 runs-on : ubuntu-latest
19- needs : build
209 steps :
2110 - uses : actions/checkout@v3
2211 - uses : actions/setup-node@v3
2716 - run : npm publish
2817 env :
2918 NODE_AUTH_TOKEN : ${{secrets.npm_token}}
19+
20+ discord-notification :
21+ runs-on : ubuntu-latest
22+ needs : publish-npm
23+
24+ env :
25+ DISCORD_WEBHOOK : ${{ secrets.DISCORD_WEBHOOK }}
26+ steps :
27+ - uses : Ilshidur/action-discord@0.3.2
28+ - with :
29+ args : ' shader-park-core {{ EVENT_PAYLOAD.package_version.version }} has been published! {{ EVENT_PAYLOAD.package_version.release.url }}'
3030
You can’t perform that action at this time.
0 commit comments