diff --git a/.github/workflows/JsActionPublish.yml b/.github/workflows/JsActionPublish.yml index 345d66c7..73dccd11 100644 --- a/.github/workflows/JsActionPublish.yml +++ b/.github/workflows/JsActionPublish.yml @@ -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 : @@ -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 : diff --git a/.github/workflows/JsActionPullRequest.yml b/.github/workflows/JsActionPullRequest.yml index e1fbbd6a..e5b1bc41 100644 --- a/.github/workflows/JsActionPullRequest.yml +++ b/.github/workflows/JsActionPullRequest.yml @@ -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 @@ -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 : diff --git a/.github/workflows/JsActionPush.yml b/.github/workflows/JsActionPush.yml index 9c55c547..463c8c7f 100644 --- a/.github/workflows/JsActionPush.yml +++ b/.github/workflows/JsActionPush.yml @@ -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, '.' ) @@ -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 :