Commit 7c7bdf41 authored by Liam Horne's avatar Liam Horne

ci: move version step outside of github action

parent da076d96
...@@ -47,14 +47,13 @@ jobs: ...@@ -47,14 +47,13 @@ jobs:
- name: Build - name: Build
run: yarn build run: yarn build
- name: Ignore Changesets - name: Setup Canary Snapshot
run: rm -rf .changeset/*.md run: yarn changeset version --snapshot
- name: Publish To NPM or Create Release Pull Request - name: Publish To NPM
uses: changesets/action@master uses: changesets/action@master
id: changesets id: changesets
with: with:
version: yarn changeset version --snapshot
publish: yarn changeset publish --tag canary publish: yarn changeset publish --tag canary
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment