Skip to content

Commit ffc1879

Browse files
committed
ci: set up release job in Travis
1 parent cbaba5b commit ffc1879

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,11 @@ script:
2020
- yarn test:unit --coverage --runInBand --verbose
2121
after_success:
2222
- cat coverage/lcov.info | coveralls || echo 'Failed to upload to coveralls...'
23+
24+
jobs:
25+
include:
26+
- stage: release
27+
node_js: 12
28+
env:
29+
- PLAYWRIGHT_OVERRIDE_VERSION=latest
30+
script: yarn ci-after-success

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
11
{
22
"name": "playwright-testing-library",
3-
"version": "0.0.0-development",
3+
"version": "0.0.0-semantically-released",
44
"description": "playwright + dom-testing-library",
55
"main": "./dist/index.js",
66
"scripts": {
77
"test": "yarn test:lint && yarn test:unit",
88
"test:unit": "jest",
99
"test:lint": "lint -t typescript './lib/**/*.ts'",
10-
"semantic-release": "semantic-release",
1110
"clean": "rm -fR dist/",
1211
"rebuild": "yarn clean && yarn build",
1312
"prepublishOnly": "yarn rebuild && generate-export-aliases",
1413
"build": "yarn build:ts && yarn build:rollup",
1514
"build:ts": "tsc",
16-
"build:rollup": "rollup -c rollup.config.js"
15+
"build:rollup": "rollup -c rollup.config.js",
16+
"ci-after-success": "hover-scripts ci-after-success"
1717
},
1818
"repository": {
1919
"type": "git",

0 commit comments

Comments
 (0)