Skip to content

Commit

Permalink
Merge pull request #133 from dmvict/workflows
Browse files Browse the repository at this point in the history
READY: Sync workflows
  • Loading branch information
dmvict authored Feb 27, 2024
2 parents 62451a2 + bef45b9 commit f2011ec
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/JsActionPublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,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,9 +33,9 @@ jobs :
- name : Setup git for windows
if : ${{ matrix.os == 'windows-latest' }}
run : git config --system core.longpaths true
- uses : actions/checkout@v2
- uses : actions/checkout@v4
with :
fetch-depth: 2
ref: js_action
- name : ${{ matrix.node-version }}
uses : Wandalen/wretry.action@master
with :
Expand Down
6 changes: 2 additions & 4 deletions .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 All @@ -31,9 +31,7 @@ jobs :
- name : Setup git for windows
if : ${{ matrix.os == 'windows-latest' }}
run : git config --system core.longpaths true
- uses : actions/checkout@v2
with :
fetch-depth: 2
- uses : actions/checkout@v4
- name : ${{ matrix.node-version }}
uses : Wandalen/wretry.action@master
with :
Expand Down
6 changes: 2 additions & 4 deletions .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 All @@ -34,9 +34,7 @@ jobs :
- name : Setup git for windows
if : ${{ matrix.os == 'windows-latest' }}
run : git config --system core.longpaths true
- uses : actions/checkout@v2
with :
fetch-depth: 2
- uses : actions/checkout@v4
- name : ${{ matrix.node-version }}
uses : Wandalen/wretry.action@master
with :
Expand Down

0 comments on commit f2011ec

Please sign in to comment.