chore: update exit and enter workflows

This commit is contained in:
Junior Garcia 2024-11-30 08:47:48 -03:00
parent 7c9017ded9
commit 08dfdaac79
4 changed files with 200 additions and 391 deletions

View File

@ -19,9 +19,11 @@ jobs:
- name: Enter pre-release mode
id: enter-pre-release-mode
env:
GITHUB_TOKEN: ${{ secrets.GA_ACCESS_TOKEN }}
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git config user.email "jrgarciadev@gmail.com"
git config user.name "Junior Garcia [Github Actions]"
if [ ${{ github.ref }} == 'refs/heads/canary' ]; then
pnpm changeset:canary
else
@ -29,4 +31,4 @@ jobs:
fi
git add -A
git commit -m 'chore(pre-release): enter pre-release mode'
git push
git push https://${{ secrets.GA_ACCESS_TOKEN }}@github.com/${{ github.repository }} ${{ github.event.inputs.branch }}

View File

@ -13,7 +13,7 @@ jobs:
steps:
- name: Checkout branch
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.branch }}
fetch-depth: 0
@ -29,9 +29,11 @@ jobs:
run: npx rimraf .changeset/pre.json
- name: Commit and push changes
env:
GITHUB_TOKEN: ${{ secrets.GA_ACCESS_TOKEN }}
run: |
git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
git config user.name "github-actions[bot]"
git config user.email "jrgarciadev@gmail.com"
git config user.name "Junior Garcia [Github Actions]"
git add -A
git commit -m "ci(changesets): exit pre-release mode"
git push
git push https://${{ secrets.GA_ACCESS_TOKEN }}@github.com/${{ github.repository }} ${{ github.event.inputs.branch }}

View File

@ -62,11 +62,10 @@
"@babel/preset-env": "^7.14.5",
"@babel/preset-react": "^7.14.5",
"@babel/preset-typescript": "^7.14.5",
"@changesets/changelog-github": "0.4.6",
"@changesets/cli": "2.24.1",
"@changesets/get-github-info": "^0.6.0",
"@changesets/get-release-plan": "3.0.12",
"@changesets/types": "5.1.0",
"@changesets/cli": "2.27.10",
"@changesets/changelog-github": "0.5.0",
"@changesets/get-release-plan": "4.0.5",
"@changesets/types": "6.0.0",
"@commitlint/cli": "^17.2.0",
"@commitlint/config-conventional": "^17.2.0",
"@react-bootstrap/babel-preset": "^2.1.0",
@ -119,7 +118,6 @@
"jest-environment-jsdom": "^29.7.0",
"jest-watch-typeahead": "2.2.2",
"lint-staged": "^13.0.3",
"node-fetch": "2.5.0",
"npm-check-updates": "^16.10.18",
"npm-run-all": "^4.1.5",
"p-iteration": "^1.1.8",
@ -144,9 +142,7 @@
"pnpm": {
"overrides": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"node-fetch": "2.5.0",
"@changesets/get-github-info": "0.6.0"
"react-dom": "^18.2.0"
}
},
"engines": {

559
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff