Skip to content

Commit

Permalink
Fix canary builds (#1437)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan authored Aug 18, 2020
1 parent f402596 commit 6412688
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion .github/workflows/canary.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ jobs:
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
with:
# Fetch all history (needed for lerna / semantic release to correctly version)
fetch-depth: 0
# pulls all tags (needed for lerna / semantic release to correctly version)
- run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: Set up Node.js
uses: actions/setup-node@master
with:
Expand All @@ -35,6 +40,9 @@ jobs:
npx lerna bootstrap --no-ci
- name: Publish
run: npx lerna publish --canary --dist-tag canary --preid canary --yes
run: npx lerna publish --canary --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

# Push new version tag to github
- run: git push --tags

0 comments on commit 6412688

Please sign in to comment.