Skip to content

Commit

Permalink
fix(ci): fixed release pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Morello committed Jun 2, 2021
1 parent 6032b86 commit ad2a644
Showing 1 changed file with 12 additions and 6 deletions.
18 changes: 12 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
name: Release
on:
push:
branches:
- master
workflow_run:
workflows: ["CI"]
branches: [master]
types:
- completed
jobs:
release:
name: Release
Expand All @@ -12,14 +14,18 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0

- name: Setup Node.js
uses: actions/setup-node@v1

with:
node-version: 12
node-version: 14

- name: Install dependencies
run: npm ci
uses: bahmutov/npm-install@v1

- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npx semantic-release
run: yarn release

1 comment on commit ad2a644

@vercel
Copy link

@vercel vercel bot commented on ad2a644 Jun 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.