Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 9 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ jobs:
run: pnpm install --frozen-lockfile

- name: Update Version
working-directory: packages/event-tracker
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
Expand All @@ -41,8 +42,13 @@ jobs:
git push --set-upstream origin release/${{ github.event.inputs.version }}
git push --tags

- name: Run Tests
working-directory: packages/event-tracker
run: pnpm run ci:test

- name: Build Package
run: pnpm build
working-directory: packages/event-tracker
run: pnpm run build

- name: Create GitHub Release
env:
Expand All @@ -53,6 +59,7 @@ jobs:
--generate-notes

- name: Publish to npm
run: pnpm -F @offlegacy/event-tracker publish --no-git-checks
working-directory: packages/event-tracker
run: pnpm publish --no-git-checks
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading