diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f265e407..337252d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -7,8 +7,8 @@ jobs: ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml index f99f0a5e..90116fb2 100644 --- a/.github/workflows/dependabot.yml +++ b/.github/workflows/dependabot.yml @@ -5,10 +5,10 @@ jobs: if: ${{ github.event.pull_request.user.login == 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/src/templates/ci-action.js b/src/templates/ci-action.js index dee7f512..7de56881 100644 --- a/src/templates/ci-action.js +++ b/src/templates/ci-action.js @@ -11,8 +11,8 @@ export default function ({branchName}) { ci: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn diff --git a/src/templates/dependabot-action.js b/src/templates/dependabot-action.js index 31e687ca..b0ca7972 100644 --- a/src/templates/dependabot-action.js +++ b/src/templates/dependabot-action.js @@ -9,10 +9,10 @@ export default function () { if: \${{ github.event.pull_request.user.login == 'dependabot[bot]' }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: \${{ github.event.pull_request.head.sha }} - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: node-version: latest cache: yarn