Skip to content

Commit

Permalink
feat: use ncc to build files (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
Naturalclar authored Jun 5, 2020
1 parent bbf9f64 commit ce21bfe
Show file tree
Hide file tree
Showing 4 changed files with 26,230 additions and 14 deletions.
14 changes: 3 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Automatically set `BUG` label and assign `@username` when Issue contains `bug` o
Automatically set `help-wanted` label and assign `@username` when Issue contains `help` or `guidance`.

### Example

```yaml
name: "Set Issue Label and Assignee"
on:
Expand All @@ -30,31 +31,22 @@ jobs:
steps:
- uses: Naturalclar/[email protected]
with:
title-or-body: 'both'
title-or-body: "both"
parameters: '[ {"keywords": ["bug", "error"], "labels": ["BUG"], "assignees": ["username"]}, {"keywords": ["help", "guidance"], "labels": ["help-wanted"], "assignees": ["username"]}]'
github-token: "${{ secrets.GITHUB_TOKEN }}"
```
# Upgrading this package
When uploading github actions, `node_modules` and `lib` directories need to be commited.

Follow the steps below:
```sh
# create a new release branch
$ git checkout -b release/vX.X.X
```

Commentout the following lines in `.gitignore`

```
# comment this out distribution branches
node_modules/
lib
```
```
$ yarn package
$ git add node_modules lib
$ git commit -a -m "release"
$ git push origin release/vX.X.X
Expand Down
Loading

0 comments on commit ce21bfe

Please sign in to comment.