Skip to content

Commit

Permalink
feat: add the latest semantic release again (#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
leonardoanalista authored Jun 28, 2022
1 parent cbc1f94 commit 0720c8a
Show file tree
Hide file tree
Showing 2 changed files with 6,575 additions and 7,212 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/github-actions-demo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,25 @@ jobs:
npm run test
- run: echo "🍏 This job's status is ${{ job.status }}."

deploy-master:
release:
runs-on: ubuntu-latest
needs: Lint-and-Tests
if: github.ref == 'refs/heads/master'
steps:
- run: echo "🎉 about to run ."
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 'lts/*'
- name: Install dependencies
run: npm ci
- name: semantic-release
run: |
npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
- run: job status is ${{ job.status }}."
Loading

0 comments on commit 0720c8a

Please sign in to comment.