Skip to content

Commit

Permalink
chore: ci release dev for non-draft PR's (#1854)
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS authored Oct 24, 2023
1 parent 88a633c commit 1ca3fbf
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/dev-releases-for-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,7 @@ on:
jobs:
setup:
if: github.event.pull_request.draft == false
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-12]
runs-on: ubuntu-latest
timeout-minutes: 30
outputs:
plugins: ${{ steps.packages.outputs.paths }}
Expand Down Expand Up @@ -49,7 +46,7 @@ jobs:
files: ${{ steps.catjson.outputs.FILES_JSON }}

release-dev-of-plugins:
runs-on: macos-12
runs-on: ubuntu-latest
timeout-minutes: 30
permissions:
pull-requests: write
Expand All @@ -75,7 +72,7 @@ jobs:
- env:
PR_NUMBER: ${{ github.event.pull_request.number }}
run: |
npm version prerelease --no-git-tag-version -f --preid dev-$PR_NUMBER-$(date + %Y%m%dT%H%M%S)
npm version prerelease --no-git-tag-version -f --preid dev-$PR_NUMBER-$(date +%Y%m%dT%H%M%S)
npm publish --tag dev --dry-run
working-directory: ${{ matrix.plugin }}
- name: get-npm-version
Expand Down

0 comments on commit 1ca3fbf

Please sign in to comment.