Skip to content

Commit

Permalink
chore(ci): fetch tags when release
Browse files Browse the repository at this point in the history
[release]
  • Loading branch information
clarkdo committed Jan 20, 2020
1 parent d6abd9f commit 6bc8e44
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/nightly.yml
Expand Up @@ -13,6 +13,8 @@ jobs:
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'
- name: fetch tags
run: git fetch --depth=1 origin +refs/tags/*:refs/tags/*
- name: install
run: yarn --check-files --frozen-lockfile --non-interactive
- name: lint
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Expand Up @@ -284,7 +284,9 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: bump version
run: yarn lerna version --yes --no-git-tag-version --no-push
run: |
git fetch --depth=1 origin +refs/tags/*:refs/tags/*
yarn lerna version --yes --no-git-tag-version --no-push
- name: build
run: PACKAGE_SUFFIX=edge yarn build
Expand Down

0 comments on commit 6bc8e44

Please sign in to comment.