Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix canary builds #1437

Merged
merged 4 commits into from
Aug 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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