Skip to content

Commit

Permalink
Update release script (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
samchungy authored Aug 31, 2023
1 parent eb36f62 commit e84d036
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Release
uses: changesets/action@v1
with:
publish: pnpm build && pnpm release
publish: pnpm release
version: pnpm changeset-version
env:
GITHUB_TOKEN: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# mock-builder

[![npm package](https://img.shields.io/npm/v/mock-builder)](https://www.npmjs.com/package/mock-builder)
[![Node.js version](https://img.shields.io/badge/node-%3E%3D%2018.12-brightgreen)](https://nodejs.org/en/)
[![GitHub Release](https://github.com/seek-oss/mock-builder/workflows/Release/badge.svg?branch=master)](https://github.com/seek-oss/mock-builder/actions?query=workflow%3ARelease)
[![GitHub Test](https://github.com/seek-oss/mock-builder/workflows/Test/badge.svg?branch=master)](https://github.com/seek-oss/mock-builder/actions?query=workflow%3ATest)

Create reusable mocks using the builder pattern in Typescript

## Installation
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"test": "skuba test --coverage",
"test:watch": "skuba test --watch",
"preinstall": "npx only-allow pnpm",
"release": "changeset publish",
"release": "pnpm build && changeset publish",
"changeset-version": "changeset version && prettier --write ."
},
"devDependencies": {
Expand Down

0 comments on commit e84d036

Please sign in to comment.