File tree Expand file tree Collapse file tree 2 files changed +27
-1
lines changed
Expand file tree Collapse file tree 2 files changed +27
-1
lines changed Original file line number Diff line number Diff line change 1+ name : NPM Publish
2+
3+ on :
4+ release :
5+ types : [created]
6+ workflow_dispatch :
7+
8+ env :
9+ NODE_VERSION : 16
10+ NODE_AUTH_TOKEN : ${{ secrets.NPM_PUBLISH_TOKEN }}
11+
12+ jobs :
13+ build-and-publish :
14+ runs-on : ubuntu-latest
15+ steps :
16+ - uses : actions/checkout@v4
17+ - uses : actions/setup-node@v4
18+ with :
19+ node-version : ${{ env.NODE_VERSION }}
20+ registry-url : https://registry.npmjs.org/
21+ - name : Install Python setuptools
22+ run : python3 -m pip install --break-system-packages setuptools
23+ - name : Install Dependencies
24+ run : |
25+ npm ci
26+ - run : npm publish --access public
Original file line number Diff line number Diff line change 11{
2- "name" : " node-pty" ,
2+ "name" : " @pulsar-edit/ node-pty" ,
33 "description" : " Fork pseudoterminals in Node.JS" ,
44 "author" : {
55 "name" : " Microsoft Corporation"
You can’t perform that action at this time.
0 commit comments