Skip to content

Commit 8712ed4

Browse files
prod dependencies
1 parent db9d707 commit 8712ed4

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,22 @@ run()
5353

5454
See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.
5555

56+
## Publish to a distribution branch
57+
58+
Comment out node_modules in .gitignore
59+
```bash
60+
# Dependency directories
61+
# node_modules/
62+
```
63+
64+
```bash
65+
$ git checkout -b releases/v1
66+
```
67+
68+
```bash
69+
$ npm prune --production
70+
```
71+
5672
## Usage:
5773

5874
The uses path will be the org and repo where you create your action

0 commit comments

Comments
 (0)