Skip to content

Commit

Permalink
Updated workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
CalebGerman committed Jan 13, 2025
1 parent 2cf0304 commit 0d9c96f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ jobs:
#There are issues with changesets in github workflows, so we need to force pull the master branch
# Fix for issue https://github.com/changesets/changesets/issues/517#issuecomment-884778604
git pull -f origin master:master
npx changeset status --since=master
pnpm changeset status --since=master
12 changes: 4 additions & 8 deletions .github/workflows/release-workflow.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
name: Changesets Release

on:
workflow_dispatch:
pull_request:
branches:
- master
on: workflow_dispatch

jobs:
CreateRelease:
runs-on: ubuntu-latest
timeout-minutes: 10

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}
GIT_AUTHOR_NAME: imodeljs-admin
GIT_AUTHOR_EMAIL: [email protected]
Expand Down Expand Up @@ -50,7 +46,7 @@ jobs:
run: npm run test:cover --prefix ./packages/changed-elements-react

- name: Run changeset version
run : npx changeset version
run : pnpm changeset version

- name: Extract version from package.json
id: extract_version
Expand Down Expand Up @@ -109,4 +105,4 @@ jobs:
run: |
cd packages/changed-elements-react
pnpm build
# pnpm release
pnpm release

0 comments on commit 0d9c96f

Please sign in to comment.