Skip to content

Commit ed5b81e

Browse files
committed
Updated workflows
1 parent 713d87a commit ed5b81e

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/docs.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
1-
name: Publish Docs
1+
name: Publish Docs on Release
22
on:
3-
push:
4-
branches:
5-
- main
63
release:
74
types: [created]
85
jobs:

.github/workflows/lint.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Publish Docs
1+
name: Publish Docs on Push to main
22
on:
33
push:
44
branches:

.github/workflows/publish.yaml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
name: Node.js Package Publish
1+
name: Package Publish on Release
22
on:
33
release:
44
types: [created]
55
jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: actions/setup-node@v2
9+
- uses: actions/checkout@v4
10+
- uses: actions/setup-node@v4
1111
with:
1212
registry-url: 'https://npm.pkg.github.com'
1313
scope: '@mutablelogic'
@@ -20,7 +20,9 @@ jobs:
2020
needs: build
2121
runs-on: ubuntu-latest
2222
steps:
23-
- uses: actions/delete-package-versions@v1
23+
- uses: actions/delete-package-versions@v5
2424
with:
2525
package-name: js-framework
26+
package-type: 'npm'
2627
num-old-versions-to-delete: 1
28+
min-versions-to-keep: 2

0 commit comments

Comments
 (0)