From d3cfe09d4e90b779ad1a13ba4e55d4bfca58ba85 Mon Sep 17 00:00:00 2001 From: baked Date: Thu, 4 Jul 2024 18:51:55 +0200 Subject: [PATCH] ci --- .../template/.github/workflows/pull.yml | 18 ++++-------------- .../template/.github/workflows/release.yml | 10 +++++----- 2 files changed, 9 insertions(+), 19 deletions(-) diff --git a/packages/create-turbo-module/template/.github/workflows/pull.yml b/packages/create-turbo-module/template/.github/workflows/pull.yml index 87bb517..4aa5d41 100644 --- a/packages/create-turbo-module/template/.github/workflows/pull.yml +++ b/packages/create-turbo-module/template/.github/workflows/pull.yml @@ -11,22 +11,12 @@ concurrency: cancel-in-progress: true jobs: - unimported: - name: Check unimported - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: whopio/unimported-action@v0.0.1 - with: - token: ${{ github.token }} - projects: "packages/$$NAME" - install: name: Install node modules runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 7.13.6 - name: Setup node @@ -44,7 +34,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 7.13.6 - name: Setup node @@ -64,7 +54,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 7.13.6 - name: Setup node @@ -84,7 +74,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 7.13.6 - name: Setup node diff --git a/packages/create-turbo-module/template/.github/workflows/release.yml b/packages/create-turbo-module/template/.github/workflows/release.yml index b86a614..0b045dd 100644 --- a/packages/create-turbo-module/template/.github/workflows/release.yml +++ b/packages/create-turbo-module/template/.github/workflows/release.yml @@ -6,7 +6,7 @@ on: name: Build, test, release concurrency: - group: "release" + group: 'release' cancel-in-progress: false jobs: @@ -20,12 +20,12 @@ jobs: - name: Check package.json for version increase id: check uses: whopio/turbo-module@v$$VERSION - with: + with: action: check token: ${{ github.token }} - uses: actions/checkout@v3 if: steps.check.outputs.can-publish == 'true' - - uses: pnpm/action-setup@v2 + - uses: pnpm/action-setup@v4 with: version: 7.13.6 if: steps.check.outputs.can-publish == 'true' @@ -49,14 +49,14 @@ jobs: - name: Github Release id: release uses: whopio/turbo-module@v$$VERSION - with: + with: action: release token: ${{ github.token }} version: ${{ steps.check.outputs.version }} if: steps.check.outputs.can-publish == 'true' - name: Sync auto-release PRs uses: whopio/turbo-module@v$$VERSION - with: + with: action: sync token: ${{ github.token }} published: ${{ steps.release.outputs.published }}