File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : NPM
2+
3+ concurrency :
4+ group : NPM-${{ github.workflow }}-${{ github.ref }}
5+ cancel-in-progress : true
6+
7+ permissions :
8+ security-events : write
9+ contents : write
10+ pull-requests : write
11+
12+ on :
13+ workflow_dispatch :
14+ release :
15+ types : [created]
16+ workflow_call :
17+
18+ jobs :
19+ Publish :
20+ runs-on : ubuntu-latest
21+
22+ permissions :
23+ contents : read
24+ id-token : write
25+
26+ steps :
27+ - uses : actions/checkout@v4.1.1
28+
29+ - uses : actions/setup-node@v4.0.1
30+ with :
31+ node-version : " 18"
32+ registry-url : " https://registry.npmjs.org"
33+
34+ - run : npm install -g npm
35+
36+ - name : Publish .
37+ continue-on-error : true
38+ working-directory : .
39+ run : |
40+ npm install --legacy-peer-deps
41+ npm publish --legacy-peer-deps --provenance
42+ env :
43+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 8585 - run : pnpm run build
8686 working-directory : .
8787
88- - uses : actions/upload-artifact@v4.1.0
88+ - uses : actions/upload-artifact@v4.3.0
89+ with :
90+ name : .-Node-${{ matrix.node-version }}-Target
91+ path : ./Target
92+
93+ - run : pnpm run prepublishOnly
94+ working-directory : .
95+
96+ - uses : actions/upload-artifact@v4.3.0
8997 with :
9098 name : .-Node-${{ matrix.node-version }}-Target
9199 path : ./Target
You can’t perform that action at this time.
0 commit comments