Skip to content

Commit

Permalink
chore: release on GitHub Packages (#626)
Browse files Browse the repository at this point in the history
* chore: release on GitHub Packages

* Update doc
  • Loading branch information
Kocal committed Feb 24, 2020
1 parent 1df67ae commit 4a5537b
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -7,8 +7,6 @@ on:

env:
CI: true
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}

jobs:
release:
Expand All @@ -26,3 +24,6 @@ jobs:
- run: yarn build

- run: yarn semantic-release
env:
NPM_TOKEN: ${{ secrets.GH_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
8 changes: 0 additions & 8 deletions README.md
Expand Up @@ -71,11 +71,3 @@ $ yarn lint --fix # will automatically fix some errors

- Open a PR `develop` to `master`
- Merge your pull request with a **Merge commit**

#### I don't want to wait

When being authenticated to npm and GitHub, run:

```bash
$ yarn semantic-release --no-ci
```
8 changes: 8 additions & 0 deletions docs/getting-started.md
Expand Up @@ -7,6 +7,14 @@

## Installation

In your `.npmrc`, add the following configuration:

```
@yproximite:registry=https://npm.pkg.github.com
```

Then run:

```bash
$ yarn add --dev @yproximite/yprox-cli
```
Expand Down
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -25,7 +25,8 @@
"lint": "eslint --ext .ts bin lib types"
},
"publishConfig": {
"access": "public"
"access": "public",
"registry": "https://npm.pkg.github.com/"
},
"husky": {
"hooks": {
Expand Down

0 comments on commit 4a5537b

Please sign in to comment.