Skip to content

Commit

Permalink
Update workflows, remove extra nodejs runners
Browse files Browse the repository at this point in the history
  • Loading branch information
dmvict committed Feb 27, 2024
1 parent a2d76c1 commit 1a9f5dc
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/JsActionPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ name : js_action_publish
on :
push :
branches : [ js_action ]
tags: 'v*'

jobs :

Expand All @@ -18,7 +19,7 @@ jobs :
fail-fast : false
matrix :
os : [ ubuntu-latest, windows-latest, macos-latest ]
node-version : [ 12.9.1, 14.x, 16.x, 18.x ]
node-version : [ 18.x, 20.x ]
if : "startsWith( github.event.head_commit.message, 'version' ) && startsWith( github.ref, 'refs/tags/v' )"
runs-on : ${{ matrix.os }}
steps :
Expand All @@ -33,7 +34,7 @@ jobs :
if : ${{ matrix.os == 'windows-latest' }}
run : git config --system core.longpaths true
- uses : actions/checkout@v4
with:
with :
ref: js_action
- name : ${{ matrix.node-version }}
uses : Wandalen/wretry.action@master
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JsActionPullRequest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs :
fail-fast : false
matrix :
os : [ ubuntu-latest, windows-latest, macos-latest ]
node-version : [ 14.x ]
node-version : [ 20.x ]
runs-on : ${{ matrix.os }}
steps :
- name : Setup git
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/JsActionPush.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs :
fail-fast : false
matrix :
os : [ ubuntu-latest, windows-latest, macos-latest ]
node-version : [ 14.x ]
node-version : [ 20.x ]
if : |
!startsWith( github.event.head_commit.message, 'version' )
&& !startsWith( github.event.head_commit.message, '.' )
Expand Down

0 comments on commit 1a9f5dc

Please sign in to comment.