19 lines
597 B
Markdown
19 lines
597 B
Markdown
# PR Labeler Action
|
|
|
|
This is a standalone github action hosted within wc-admin that supports
|
|
auto adding or removing a PR label, which could be useful in various
|
|
automation scenarios.
|
|
|
|
To keep it simple and avoid checking in `node_modules` when you make
|
|
changes to `index.js` you'll need to compile it into the `dist` directory
|
|
via [@vercel/ncc](https://github.com/vercel/ncc).
|
|
|
|
Run these commands from the root of the action before pushing an update to `dist/index.js`:
|
|
|
|
```
|
|
npm i -g @vercel/ncc
|
|
ncc build index.js
|
|
```
|
|
|
|
This will compile the `node_modules` alongside the js into one single file.
|