mirror of
https://github.com/actions/javascript-action.git
synced 2025-12-12 15:12:44 +00:00
prod dependencies
This commit is contained in:
16
README.md
16
README.md
@@ -53,6 +53,22 @@ run()
|
|||||||
|
|
||||||
See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.
|
See the [toolkit documentation](https://github.com/actions/toolkit/blob/master/README.md#packages) for the various packages.
|
||||||
|
|
||||||
|
## Publish to a distribution branch
|
||||||
|
|
||||||
|
Comment out node_modules in .gitignore
|
||||||
|
```bash
|
||||||
|
# Dependency directories
|
||||||
|
# node_modules/
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ git checkout -b releases/v1
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ npm prune --production
|
||||||
|
```
|
||||||
|
|
||||||
## Usage:
|
## Usage:
|
||||||
|
|
||||||
The uses path will be the org and repo where you create your action
|
The uses path will be the org and repo where you create your action
|
||||||
|
|||||||
Reference in New Issue
Block a user