From 67fbff8339604d8ace35a5a628bd17960e9dde8a Mon Sep 17 00:00:00 2001 From: Chris Villa Date: Wed, 13 Dec 2023 14:48:54 +0000 Subject: [PATCH] release: test --- .github/workflows/publish.yml | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d8c42cc2b7..f79f489e68 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -4,7 +4,8 @@ on: branches: - "main" - "releases/**" - +permissions: + contents: write jobs: tag-and-publish-to-npm: runs-on: ubuntu-latest @@ -29,9 +30,17 @@ jobs: - name: Install dependencies run: yarn - - name: Publish all packages - run: ./scripts/publish.sh latest - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + # - name: Publish all packages + # run: ./scripts/publish.sh latest + # env: + # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + + # Trigger a new build to ensure Vercel creates a distinct release branch, rather than reusing latest + - name: Triggering new build + run: | + git config --global user.name 'chrisvxd' + git config --global user.email 'chrisvxd@users.noreply.github.com' + git commit -m "ci: trigger build" --allow-empty + git push timeout-minutes: 10