From acf14c2c609ab099d6cc95741ac377a90c5fcc53 Mon Sep 17 00:00:00 2001 From: Simon Hyll Date: Thu, 30 May 2024 02:39:51 +0200 Subject: [PATCH] fix: remove duplicate workflow --- .github/workflows/check.yml | 5 ++++- .github/workflows/format.yml | 26 -------------------------- 2 files changed, 4 insertions(+), 27 deletions(-) delete mode 100644 .github/workflows/format.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 204bfb59b..1446fb5a4 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -10,14 +10,17 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code using Git - uses: actions/checkout@v3 + uses: actions/checkout@v4 + - uses: pnpm/action-setup@v2 with: version: 9 + - uses: actions/setup-node@v3 with: node-version: 20 cache: 'pnpm' - run: pnpm i + - name: Format with Prettier run: pnpm format diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml deleted file mode 100644 index d04bbae2d..000000000 --- a/.github/workflows/format.yml +++ /dev/null @@ -1,26 +0,0 @@ -# Adapted from https://github.com/withastro/starlight/blob/main/.github/workflows/format.yml - -name: Format - -on: - pull_request: - -jobs: - format: - runs-on: ubuntu-latest - steps: - - name: Check out code using Git - uses: actions/checkout@v4 - - - uses: pnpm/action-setup@v2 - with: - version: 9 - - - uses: actions/setup-node@v3 - with: - node-version: 20 - cache: 'pnpm' - - run: pnpm i - - - name: Format with Prettier - run: pnpm format