-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A0-3429: Extend replace-string to handle multiple replaces (#20)
* Extend replace-string to handle multiple replaces
- Loading branch information
Showing
5 changed files
with
637 additions
and
528 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
node_modules | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# github-actions | ||
|
||
## Creating javascript actions | ||
Please follow the official GitHub docs [here](https://docs.github.com/en/actions/creating-actions/creating-a-javascript-action#commit-tag-and-push-your-action-to-github) | ||
and use `@vercel/ncc` to compile the action into one `dist/index.js` file. Do not commmit `node_modules` directory as it contains loads of files. | ||
|
||
### TL;DR | ||
|
||
* install vercel with `npm install -g @vercel/ncc` | ||
* create `src/index.js` and `action.yml` files | ||
* run `npm install` | ||
* run `ncc build src/index.js` | ||
* commit `src/index.js`, `dist/index.js` and `action.yml` |
Oops, something went wrong.