mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-03-21 17:25:10 -05:00
Bump GitHub Actions versions (#11826)
Co-authored-by: TurboRx <TurboRx@users.noreply.github.com>
This commit is contained in:
parent
6938f1f807
commit
2dfe57c13a
6
.github/workflows/publish.yml
vendored
6
.github/workflows/publish.yml
vendored
|
|
@ -15,7 +15,7 @@ jobs:
|
|||
last_version: ${{ steps.last_version.outputs.version }}
|
||||
token_exists: ${{ steps.check_token.outputs.token }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 50
|
||||
# Check if the package.json version field has changed since the last push
|
||||
|
|
@ -40,8 +40,8 @@ jobs:
|
|||
# We only want to publish if the package.json version field has changed
|
||||
if: needs.get-version.outputs.current_version != needs.get-version.outputs.last_version && needs.get-version.outputs.token_exists == 'true'
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/checkout@v6
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'npm'
|
||||
|
|
|
|||
8
.github/workflows/test.yml
vendored
8
.github/workflows/test.yml
vendored
|
|
@ -28,12 +28,12 @@ jobs:
|
|||
node-version: ['18.x']
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
with:
|
||||
fetch-depth: 100 # assumes PR/push to master is no larger than 100 commits. Other solutions are needlessly complex.
|
||||
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v4
|
||||
uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
|
|
@ -43,7 +43,7 @@ jobs:
|
|||
- name: Determine which files to lint (if pull request)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
id: changed-files
|
||||
uses: tj-actions/changed-files@v35
|
||||
uses: tj-actions/changed-files@v47
|
||||
with:
|
||||
files: |
|
||||
./config/*.ts
|
||||
|
|
@ -66,7 +66,7 @@ jobs:
|
|||
- name: Determine whether test/sim or test/random-battles need to run (if pull request)
|
||||
if: ${{ github.event_name == 'pull_request' }}
|
||||
id: changed-directories
|
||||
uses: tj-actions/changed-files@v35
|
||||
uses: tj-actions/changed-files@v47
|
||||
with:
|
||||
files: |
|
||||
config/formats.ts
|
||||
|
|
|
|||
6
.github/workflows/update_version.yml
vendored
6
.github/workflows/update_version.yml
vendored
|
|
@ -21,9 +21,9 @@ jobs:
|
|||
update_version:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v6
|
||||
|
||||
- uses: actions/setup-node@v4
|
||||
- uses: actions/setup-node@v6
|
||||
with:
|
||||
node-version: 18
|
||||
cache: 'npm'
|
||||
|
|
@ -34,7 +34,7 @@ jobs:
|
|||
npm version ${{ github.event.inputs.version }} --no-git-tag-version
|
||||
echo "new_version=$(jq -r .version package.json)" >> "$GITHUB_OUTPUT"
|
||||
|
||||
- uses: peter-evans/create-pull-request@v7
|
||||
- uses: peter-evans/create-pull-request@v8
|
||||
with:
|
||||
title: Bump package.json version to v${{ steps.bump_version.outputs.new_version }}
|
||||
body: |
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user