Skip to content

Commit cea3716

Browse files
committed
chore: remove tests + setup GH actions
1 parent eed52d3 commit cea3716

15 files changed

+6
-1354
lines changed

.github/dependabot.yml

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

.github/workflows/semantic-release.yml

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
push:
55
branches:
66
- master
7-
- experimental
87

98
jobs:
109
build:
@@ -17,14 +16,8 @@ jobs:
1716
node-version: '12.x'
1817
- run: yarn
1918
name: Install dependencies
20-
- run: yarn test
21-
name: Run tests
2219
- run: yarn run semantic-release
2320
env:
2421
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
25-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
26-
- name: Coveralls
27-
uses: coverallsapp/github-action@master
28-
with:
29-
github-token: ${{ secrets.GITHUB_TOKEN }}
30-
22+
NPM_TOKEN: ${{secrets.GITHUB_TOKEN}}
23+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.github/workflows/test.yml

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

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "cf-content-types-generator",
2+
"name": "@xeroxinteractive/cf-content-types-generator",
33
"version": "0.0.0",
44
"description": "Contentful Content Types (TS Definitions) Generator",
55
"author": "Marco Link<[email protected]>",
@@ -56,8 +56,6 @@
5656
"scripts": {
5757
"posttest": "eslint . --ext .ts --config .eslintrc --fix",
5858
"prepack": "rm -rf lib && tsc -b && oclif-dev readme",
59-
"test": "nyc --reporter=text --reporter=lcov --extension .ts mocha --forbid-only \"test/**/*.test.ts\"",
60-
"test:watch": "nyc --extension .ts mocha --forbid-only \"test/**/*.test.ts\" --watch",
6159
"build": "./node_modules/.bin/tsc",
6260
"version": "oclif-dev readme && git add README.md",
6361
"presemantic-release": "yarn run build",
@@ -91,5 +89,8 @@
9189
"@semantic-release/changelog",
9290
"@semantic-release/github"
9391
]
92+
},
93+
"publishConfig": {
94+
"registry": "https://npm.pkg.github.com/xeroxinteractive"
9495
}
9596
}

test/cases/case-01.test.ts

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

0 commit comments

Comments
 (0)