Skip to content

Commit

Permalink
Merge pull request #4 from open-frames/ar/fix-tests-release
Browse files Browse the repository at this point in the history
docs(changeset): Added state type
  • Loading branch information
alexrisch authored Mar 22, 2024
2 parents 0d5ea5a + d500df7 commit e181992
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .changeset/hip-chefs-double.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@open-frames/types": patch
---

Added state type
Added release config
Fixed test
3 changes: 3 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:
run: |
echo //registry.npmjs.org/:_authToken="${{ secrets.NPM_TOKEN }}" > .npmrc
- name: Install Node Modules
run: npm i

- name: Publish
uses: changesets/action@v1
with:
Expand Down
4 changes: 2 additions & 2 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ test("should allow the fake validator to work", async () => {
expectTypeOf(validationResponse.message).toMatchTypeOf<ResponseType>();
expectTypeOf(validationResponse.message).not.toMatchTypeOf<{ bar: "baz" }>();
expect(validationResponse).toEqual({
clientProtocol: "test",
clientProtocol: "test@2024-02-02",
isValid: true,
data: { foo: "bar" },
message: { foo: "bar" },
});
});

0 comments on commit e181992

Please sign in to comment.