File tree Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Expand file tree Collapse file tree 2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -217,6 +217,26 @@ jobs:
217
217
# Instead, itis determined in publish-npm.sh script
218
218
# using GITHUB environment variables
219
219
220
+ - name: Comment npm information
221
+ uses: marocchino/sticky-pull-request-comment@v2
222
+ with:
223
+ GITHUB_TOKEN: ${{ github.token }}
224
+ header: npm-dev-build
225
+ message: |
226
+ ✨ code-server dev build published to npm for PR #${{ github.event.number }}!
227
+ * _Last publish status_: success
228
+ * _Commit_: ${{ github.event.pull_request.head.sha }}
229
+
230
+ To install in a local project, run:
231
+ ```shell-session
232
+ npm install @coder/code-server-pr@${{ github.event.number }}
233
+ ```
234
+
235
+ To install globally, run:
236
+ ```shell-session
237
+ npm install -g @coder/code-server-pr@${{ github.event.number }}
238
+ ```
239
+
220
240
# TODO: cache building yarn --production
221
241
# possibly 2m30s of savings(?)
222
242
# this requires refactoring our release scripts
Original file line number Diff line number Diff line change 31
31
- name: Comment Credentials
32
32
uses: marocchino/sticky-pull-request-comment@v2
33
33
with:
34
+ GITHUB_TOKEN: ${{ github.token }}
34
35
header: codercom-preview-docs
35
36
message: |
36
37
✨ code-server docs for PR #${{ github.event.number }} is ready! It will be updated on every commit.
You can’t perform that action at this time.
0 commit comments