Skip to content

Commit

Permalink
fix: reorder workflow steps
Browse files Browse the repository at this point in the history
  • Loading branch information
willdady committed Apr 8, 2022
1 parent 72bd33f commit eae904c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
permissions:
contents: write
env:
CI: "true"
CI: 'true'
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -20,12 +20,12 @@ jobs:
run: yarn install
- name: Build
run: yarn build
- name: Create release
run: yarn release
- name: Set git identity
run: |-
git config user.name "github-actions"
git config user.email "[email protected]"
- name: Create release
run: yarn release
- name: Push release
run: git push --follow-tags
- uses: actions/upload-artifact@v3
Expand All @@ -38,7 +38,7 @@ jobs:
needs: release
runs-on: ubuntu-latest
env:
CI: "true"
CI: 'true'
steps:
- uses: actions/download-artifact@v3
with:
Expand All @@ -50,4 +50,4 @@ jobs:
registry-url: 'https://registry.npmjs.org'
- run: yarn publish
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 comments on commit eae904c

Please sign in to comment.