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 : Publish
1+ name : Publish Package
22
33on :
44 workflow_dispatch :
88 required : false
99
1010permissions :
11- id-token : write # Required for OIDC
11+ id-token : write # Required for OIDC
1212 contents : read
1313
1414jobs :
1515 publish :
1616 runs-on : ubuntu-latest
17-
1817 steps :
19- # Checkout repository
2018 - uses : actions/checkout@v4
19+
20+ # Setup Deno
21+ - uses : denoland/setup-deno@v2
2122 with :
22- ref : main
23+ deno-version : v2.5
2324
24- # Setup Node.js with OIDC Trusted Publishing
25+ # Setup Node
2526 - uses : actions/setup-node@v4
2627 with :
2728 node-version : ' 20'
2829 registry-url : ' https://registry.npmjs.org'
2930
30- # Setup Deno
31- - uses : denoland/setup-deno@v2
32- with :
33- deno-version : v2.5
31+ # Ensure npm 11.5.1 or later is installed
32+ - name : Update npm
33+ run : npm install -g npm@latest
3434
35- # Publish
36- - name : Publish
35+ - name : whoami
3736 run : npm whoami
You can’t perform that action at this time.
0 commit comments