Skip to content

Commit

Permalink
change order of workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
phryneas committed Mar 22, 2024
1 parent 896c946 commit f47bdce
Showing 1 changed file with 16 additions and 11 deletions.
27 changes: 16 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,22 +63,27 @@ jobs:
# push_options: ""
# skip_dirty_check: false
# tagging_message: "v.${{ inputs.version }}"

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: "Bump version to ${{ inputs.version }}"
commit-message: "Bump version to ${{ inputs.version }}"
branch: "pr/bump-version"
branch-suffix: short-commit-hash
delete-branch: true
- name: Create commit
run: |
git config user.name ${{ github.actor }}
git config user.email ${{ github.actor_id }}+${{ github.actor }}@users.noreply.github.com
git add --all
git commit -m "Bump version to ${{ inputs.version }}"
- name: "@apollo/client-react-streaming: publish"
run: yarn workspace @apollo/client-react-streaming exec npm publish --access public --tag ${{ inputs.tag }} --provenance
run: yarn workspace @apollo/client-react-streaming exec npm publish --access public --tag ${{ inputs.tag }} --provenance --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: "@apollo/experimental-nextjs-app-support: publish"
run: yarn workspace @apollo/experimental-nextjs-app-support exec npm publish --access public --tag ${{ inputs.tag }} --provenance
run: yarn workspace @apollo/experimental-nextjs-app-support exec npm publish --access public --tag ${{ inputs.tag }} --provenance --dry-run
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
title: "Bump version to ${{ inputs.version }}"
branch: "pr/bump-version"
branch-suffix: short-commit-hash
delete-branch: true

0 comments on commit f47bdce

Please sign in to comment.