Commit da076d96 authored by Liam Horne's avatar Liam Horne

ci: migrate to github action tool

parent e868bb8e
......@@ -44,21 +44,18 @@ jobs:
- name: Install Dependencies
run: yarn
- name: Create .npmrc
run: |
cat << EOF > "$HOME/.npmrc"
//registry.npmjs.org/:_authToken=$NPM_TOKEN
EOF
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build
run: yarn build
- name: Ignore Changesets
run: rm -rf .changeset/*.md
- name: Publish To NPM or Create Release Pull Request
uses: changesets/action@master
id: changesets
run: |
rm -rf .changeset/*.md
yarn build
yarn changeset version --snapshot
yarn changeset publish --tag canary
with:
version: yarn changeset version --snapshot
publish: yarn changeset publish --tag canary
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_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