@@ -13,34 +13,40 @@ jobs:
1313 - name : Checkout PR branch
1414 uses : actions/checkout@v4
1515
16- - name : Setup Job and Install Dependencies
17- uses : ./.github/actions/setup-job
18-
19- - name : Set Git identity
20- run : |
21- git config --global user.email "support+actions@github.com"
22- git config --global user.name "github-actions-bot"
23-
24- - name : Update package versions for beta snapshot release
25- env :
26- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
27- run : |
28- yarn changeset version --snapshot beta
29- yarn lint:versions --fix
30- yarn update-version
31-
32- - name : Configure NPM for changeset publish
33- env :
34- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
35- run : |
36- echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
37-
38- - name : Publish beta snapshot release
39- env :
40- NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
16+ - name : Test tag format
4117 run : |
42- git add .
43- git commit -am "chore: publish beta snapshot version"
44- yarn prepublishOnly
45- yarn changeset publish --no-git-tag --tag beta
46- git reset --hard HEAD^
18+ echo "Full SHA: $GITHUB_SHA"
19+ echo "Short SHA: ${GITHUB_SHA::8}"
20+ echo "Tag would be: beta-${GITHUB_SHA::8}"
21+
22+ # - name: Setup Job and Install Dependencies
23+ # uses: ./.github/actions/setup-job
24+
25+ # - name: Set Git identity
26+ # run: |
27+ # git config --global user.email "support+actions@github.com"
28+ # git config --global user.name "github-actions-bot"
29+
30+ # - name: Update package versions for beta snapshot release
31+ # env:
32+ # GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33+ # run: |
34+ # yarn changeset version --snapshot beta
35+ # yarn lint:versions --fix
36+ # yarn update-version
37+
38+ # - name: Configure NPM for changeset publish
39+ # env:
40+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
41+ # run: |
42+ # echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
43+
44+ # - name: Publish beta snapshot release
45+ # env:
46+ # NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
47+ # run: |
48+ # git add .
49+ # git commit -am "chore: publish beta snapshot version"
50+ # yarn prepublishOnly
51+ # yarn changeset publish --no-git-tag --tag beta-${GITHUB_SHA::8}
52+ # git reset --hard HEAD^
0 commit comments