Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
hathbanger committed Oct 12, 2024
1 parent ddca28c commit a728e26
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ jobs:
run: pnpm install

- name: Create Changesets version
run: pnpx changeset version
run: |
if [ "${{ github.ref }}" == "refs/heads/dev" ]; then
pnpx changeset pre enter rc
fi
pnpx changeset version
- name: Push Changeset version update
run: |
Expand All @@ -48,6 +52,5 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Echo statement instead of publishing to npm (for now)
- name: Echo publish action
run: echo "This is where the package would be published to npm."
3 changes: 3 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/bin/sh
pnpx @changesets/cli version
git add .changeset/
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"test": "vitest run",
"test:watch": "vitest --watch",
"test:coverage": "vitest run --coverage"
"test:coverage": "vitest run --coverage",
"prepare": "husky"
},
"devDependencies": {
"@changesets/cli": "^2.27.9",
"@types/jest": "^29.5.13",
"@vitest/coverage-v8": "^2.1.2",
"husky": "^9.1.6",
"jest": "^29.7.0",
"prettier": "^3.3.3",
"turbo": "^2.1.3",
Expand Down
9 changes: 9 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a728e26

Please sign in to comment.