Skip to content

Commit 4f9e50f

Browse files
authored
fix: fix release workflow (#204)
Fix release
1 parent 65cb3de commit 4f9e50f

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ jobs:
3232
uses: changesets/action@v1
3333
with:
3434
version: yarn run prepare-release
35-
publish: yarn build && yarn changeset publish
35+
publish: yarn run release
3636
commit: 'chore: version packages'
3737
title: 'chore: version packages'
3838
env:

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"generate-json-schema-local": "tsx scripts/generate-json-schema local",
4949
"lint": "eslint src --ext .ts",
5050
"prepare-release": "changeset version && yarn run generate-json-schema",
51+
"release": "yarn run build && changeset publish",
5152
"test": "yarn run test:compile && yarn run test:src --verbose && yarn run test:rules",
5253
"test:compile": "tsc -p tsconfig.test.json",
5354
"test:rules": "tsx src/cli/index.tsx generate-rules --definition tests/security/definition.yml --outFile tests/security/firestore.rules && firebase emulators:exec --project demo-rules --only firestore 'jest --testMatch \"<rootDir>/tests/security/**/*.test.ts\"'",

0 commit comments

Comments
 (0)