Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
baked-dev committed Jul 4, 2024
1 parent 056aa38 commit d3cfe09
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 19 deletions.
18 changes: 4 additions & 14 deletions packages/create-turbo-module/template/.github/workflows/pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
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
Expand All @@ -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
Expand All @@ -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
Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
name: Build, test, release

concurrency:
group: "release"
group: 'release'
cancel-in-progress: false

jobs:
Expand All @@ -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'
Expand All @@ -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 }}

0 comments on commit d3cfe09

Please sign in to comment.