File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1
- name : Publish Docs
1
+ name : Publish Docs on Release
2
2
on :
3
- push :
4
- branches :
5
- - main
6
3
release :
7
4
types : [created]
8
5
jobs :
Original file line number Diff line number Diff line change 1
- name : Publish Docs
1
+ name : Publish Docs on Push to main
2
2
on :
3
3
push :
4
4
branches :
Original file line number Diff line number Diff line change 1
- name : Node.js Package Publish
1
+ name : Package Publish on Release
2
2
on :
3
3
release :
4
4
types : [created]
5
5
jobs :
6
6
build :
7
7
runs-on : ubuntu-latest
8
8
steps :
9
- - uses : actions/checkout@v2
10
- - uses : actions/setup-node@v2
9
+ - uses : actions/checkout@v4
10
+ - uses : actions/setup-node@v4
11
11
with :
12
12
registry-url : ' https://npm.pkg.github.com'
13
13
scope : ' @mutablelogic'
20
20
needs : build
21
21
runs-on : ubuntu-latest
22
22
steps :
23
- - uses : actions/delete-package-versions@v1
23
+ - uses : actions/delete-package-versions@v5
24
24
with :
25
25
package-name : js-framework
26
+ package-type : ' npm'
26
27
num-old-versions-to-delete : 1
28
+ min-versions-to-keep : 2
You can’t perform that action at this time.
0 commit comments