Skip to content

Commit ce21bfe

Browse files
authored
feat: use ncc to build files (#80)
1 parent bbf9f64 commit ce21bfe

File tree

4 files changed

+26230
-14
lines changed

4 files changed

+26230
-14
lines changed

README.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ Automatically set `BUG` label and assign `@username` when Issue contains `bug` o
1616
Automatically set `help-wanted` label and assign `@username` when Issue contains `help` or `guidance`.
1717

1818
### Example
19+
1920
```yaml
2021
name: "Set Issue Label and Assignee"
2122
on:
@@ -30,31 +31,22 @@ jobs:
3031
steps:
3132
- uses: Naturalclar/issue-action@v1.0.0
3233
with:
33-
title-or-body: 'both'
34+
title-or-body: "both"
3435
parameters: '[ {"keywords": ["bug", "error"], "labels": ["BUG"], "assignees": ["username"]}, {"keywords": ["help", "guidance"], "labels": ["help-wanted"], "assignees": ["username"]}]'
3536
github-token: "${{ secrets.GITHUB_TOKEN }}"
3637
```
3738
3839
# Upgrading this package
3940
40-
When uploading github actions, `node_modules` and `lib` directories need to be commited.
41-
4241
Follow the steps below:
4342
4443
```sh
4544
# create a new release branch
4645
$ git checkout -b release/vX.X.X
4746
```
4847

49-
Commentout the following lines in `.gitignore`
50-
51-
```
52-
# comment this out distribution branches
53-
node_modules/
54-
lib
55-
```
56-
5748
```
49+
$ yarn package
5850
$ git add node_modules lib
5951
$ git commit -a -m "release"
6052
$ git push origin release/vX.X.X

0 commit comments

Comments
 (0)