Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cardinalby/puppeteer-based-github-action-example
Upload your extension to Opera Addons
https://github.com/cardinalby/puppeteer-based-github-action-example
Last synced: about 5 hours ago
JSON representation
Upload your extension to Opera Addons
- Host: GitHub
- URL: https://github.com/cardinalby/puppeteer-based-github-action-example
- Owner: cardinalby
- License: mit
- Created: 2020-07-22T15:23:07.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-03T00:55:39.000Z (about 1 year ago)
- Last Synced: 2024-10-17T11:41:37.763Z (21 days ago)
- Language: TypeScript
- Size: 50.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Example Github Action with puppeteer and TypeScript
Demonstrates how to create own GitHub Action based on Puppeteer Docker image and add own
TypeScript code to it.```yaml
- uses: cardinalby/puppeteer-based-github-action-example@master
with:
url: 'http://example.com/'
selector: 'h1'
```## See also: how automate JS packing using ncc
GitHub's examples suggest packing your JS together with dependencies from `node_modules` into on JS file using `ncc` util.
Read my [Managing JavaScript GitHub Action ncc packing](https://medium.com/@cardinalby/managing-javascript-github-action-ncc-packing-f7b5b5b439)
article to learn how to automate that.