https://github.com/cardinal-cryptography/github-actions
GitHub actions
https://github.com/cardinal-cryptography/github-actions
Last synced: 2 months ago
JSON representation
GitHub actions
- Host: GitHub
- URL: https://github.com/cardinal-cryptography/github-actions
- Owner: Cardinal-Cryptography
- Created: 2023-05-22T14:51:37.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-28T07:41:11.000Z (3 months ago)
- Last Synced: 2025-03-28T08:31:48.325Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 396 KB
- Stars: 0
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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`