diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 8758bb6..36da1c9 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -6,8 +6,9 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - uses: ./.github/actions/setup + - uses: glzr/actions/setup-pnpm@main + with: + checkout: true + node-version: 20 - run: pnpm build diff --git a/.github/workflows/lint-check.yaml b/.github/workflows/lint-check.yaml index dccd834..409c6fd 100644 --- a/.github/workflows/lint-check.yaml +++ b/.github/workflows/lint-check.yaml @@ -6,8 +6,9 @@ jobs: lint-check: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - - uses: ./.github/actions/setup + - uses: glzr/actions/setup-pnpm@main + with: + checkout: true + node-version: 20 - run: pnpm lint diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index b9cc301..8c1d6e5 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -21,12 +21,12 @@ jobs: release: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - uses: glzr/actions/setup-pnpm@main with: + checkout: true + node-version: 20 fetch-depth: 0 - - uses: ./.github/actions/setup - - run: pnpm build - uses: glzr-io/actions/semantic-release@main diff --git a/.github/workflows/setup.yaml b/.github/workflows/setup.yaml deleted file mode 100644 index 9e37e1c..0000000 --- a/.github/workflows/setup.yaml +++ /dev/null @@ -1,16 +0,0 @@ -name: Setup - -runs: - using: composite - steps: - - uses: pnpm/action-setup@v4 - shell: bash - - - uses: actions/setup-node@v4 - with: - node-version: 20 - cache: pnpm - shell: bash - - - run: pnpm i - shell: bash