Skip to content
This repository was archived by the owner on Sep 27, 2023. It is now read-only.

Commit be0ff62

Browse files
committed
Add release, only release on master
1 parent 33b0fc1 commit be0ff62

File tree

4 files changed

+6
-13
lines changed

4 files changed

+6
-13
lines changed

.github/workflows/release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release
22

3-
on: [push]
3+
on:
4+
push:
5+
branches:
6+
- master
47

58
jobs:
69
release:

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,14 +35,14 @@
3535
"scripts": {
3636
"build": "rimraf lib && tsc --project tsconfig.build.json",
3737
"lint": "tslint -c tslint.json --project tsconfig.json",
38-
"pr-check": "scripts/pr-check.sh",
3938
"prettier": "prettier --write '{src,types,test}/**/*.ts'",
4039
"prepublish": "npm run build",
4140
"relay": "node bin/relay-compiler.js --schema test/schema.graphql --src test/ --outputDir __generated__",
4241
"sync-fixtures": "ts-node ./syncFixtures.ts",
4342
"test": "npm run type-check && jest",
4443
"type-check": "tsc --noEmit --pretty",
45-
"watch": "concurrently 'tsc --watch --project tsconfig.build.json' 'chokidar \"lib/**/*.js\" -c \"yalc publish --force --push\"'"
44+
"watch": "concurrently 'tsc --watch --project tsconfig.build.json' 'chokidar \"lib/**/*.js\" -c \"yalc publish --force --push\"'",
45+
"release": "npx [email protected] shipit -v"
4646
},
4747
"husky": {
4848
"hooks": {

scripts/deploy.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

scripts/pr-check.sh

Lines changed: 0 additions & 5 deletions
This file was deleted.

0 commit comments

Comments
 (0)