Skip to content

Commit 663d453

Browse files
authored
Update release.yml
1 parent d118129 commit 663d453

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- run: npm run build
2121
- run: npx jest --env=jsdom --config=jest.config.js --coverage --ci --updateSnapshot --detectOpenHandles --forceExit
2222

23-
publish-npm:
23+
publish-npm-react:
2424
if: "!github.event.release.prerelease"
2525
needs: build
2626
runs-on: ubuntu-latest
@@ -34,12 +34,13 @@ jobs:
3434
- run: npm run build
3535
- run: npx tsc index.js --declaration --allowJs --emitDeclarationOnly --skipLibCheck --outDir .
3636
- run: npm install -g json
37+
- run: json -I -f package.json -e 'this.name="react-jsonschema-form-material-ui"'
3738
- run: json -I -f package.json -e 'this.scripts.postinstall="echo done"'
3839
- run: npm publish
3940
env:
4041
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
4142

42-
publish-gpr:
43+
publish-gp-react:
4344
if: "!github.event.release.prerelease"
4445
needs: build
4546
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)