Skip to content

Commit

Permalink
chore: tweak publish_snapshots action
Browse files Browse the repository at this point in the history
  • Loading branch information
alanrsoares committed Sep 19, 2023
1 parent e9b820d commit 7aa3516
Showing 1 changed file with 11 additions and 8 deletions.
19 changes: 11 additions & 8 deletions .github/workflows/publish_snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,14 @@ jobs:
- name: Install dependencies
uses: ./.github/actions/install-dependencies

- name: Create version pull request or publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: pnpm changeset:release-snap
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Build packages
run: pnpm build:packages

- name: Set snapshot version
run: |
pnpm -r exec npm version 0.0.0-snapshot.$(git rev-parse --short HEAD) --git-tag-version=false
- name: Publish snapshots
run: |
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > .npmrc
pnpm -r publish --no-git-checks --tag snapshot --access public

2 comments on commit 7aa3516

@vercel
Copy link

@vercel vercel bot commented on 7aa3516 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-registry – ./apps/registry

axelar-registry-git-main-axelar-network.vercel.app
axelar-registry-axelar-network.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 7aa3516 Sep 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

axelar-ui – ./packages/ui

axelar-ui-git-main-axelar-network.vercel.app
axelar-ui.vercel.app
axelar-ui-axelar-network.vercel.app
ui.axelar.dev

Please sign in to comment.