From 14eaf6ca21a101f3629f252c54854dc42e2dc0d2 Mon Sep 17 00:00:00 2001 From: Princesseuh <3019731+Princesseuh@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:59:31 +0200 Subject: [PATCH] fix: try to fix GitHub Actions --- .github/actions/install/action.yml | 4 ++-- .github/workflows/ci.yml | 6 ++---- .github/workflows/prerelease.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 4 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/actions/install/action.yml b/.github/actions/install/action.yml index c06843e..63312b2 100644 --- a/.github/actions/install/action.yml +++ b/.github/actions/install/action.yml @@ -12,10 +12,10 @@ runs: using: composite steps: - name: Setup pnpm - uses: pnpm/action-setup@v2.2.4 + uses: pnpm/action-setup@v3 - name: Setup Node ${{ inputs.node-version }} - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: ${{ inputs.node-version }} cache: pnpm diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a0aa00..4772b0a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,12 +25,10 @@ jobs: name: 'Test: node-${{ matrix.node_version }}, ${{ matrix.os }}' steps: - name: Check out code using Git - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Install Tools & Dependencies uses: ./.github/actions/install - with: - node-version: ${{ matrix.node_version }} - name: Build prettier-plugin-astro run: pnpm build @@ -42,7 +40,7 @@ jobs: runs-on: ubuntu-latest name: 'Lint: node-16, ubuntu-latest' steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Install Tools & Dependencies uses: ./.github/actions/install diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index 9b32ca0..0345707 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits @@ -20,7 +20,7 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - uses: changesets/action@v1 + uses: changesets/action@master with: # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f5d5858..b1d015f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 # This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits @@ -20,7 +20,7 @@ jobs: - name: Create Release Pull Request or Publish to npm id: changesets - uses: changesets/action@v1 + uses: changesets/action@master with: # This expects you to have a script called release which does a build for your packages and calls changeset publish publish: pnpm release