Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aquariuslt/node-browsers-github-actions
github actions for yarn
https://github.com/aquariuslt/node-browsers-github-actions
actions docker docker-image github-actions yarn
Last synced: 23 days ago
JSON representation
github actions for yarn
- Host: GitHub
- URL: https://github.com/aquariuslt/node-browsers-github-actions
- Owner: aquariuslt
- License: mit
- Created: 2019-01-01T16:14:08.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-22T05:49:32.000Z (over 4 years ago)
- Last Synced: 2023-05-26T17:10:15.963Z (over 1 year ago)
- Topics: actions, docker, docker-image, github-actions, yarn
- Language: Dockerfile
- Size: 10.7 KB
- Stars: 8
- Watchers: 3
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Github Action for Yarn/NPM with Bundled Browsers Environment
Use yarn as workflow actions to enable the repository which need to use
yarn-only features such as `workspaces`And with browsers environment support (Headless Chrome)
## Usage
You can use this repository using published yarn packages:
### Use Marketplace Alias (Recommend)
### Use Github Repo Scheme
```workflow
workflow "Build and test on push" {
on = "push"
resolves = ["Unit Test"]
}action "Install Dependencies" {
uses = "aquariuslt/node-browsers-github-actions@master"
runs = "yarn"
args = "install"
}action "Unit Test" {
uses = "aquariuslt/node-browsers-github-actions@master"
needs = ["Install Dependencies"]
args = "test"
runs = "yarn"
}```
### Use `docker://` Scheme
Sadly, I haven't see any success example on github official action repo `.workflow` file use this scheme.
```workflow
workflow "Build and test on push" {
on = "push"
resolves = ["Unit Test"]
}action "Install Dependencies" {
uses = "docker://aquariuslt/node-10-browsers@master"
}action "Unit Test" {
uses = "docker://aquariuslt/node-10-browsers@master"
needs = ["Install Dependencies"]
args = "test"
}
```## Example
You can refer to [my blog repo actions](https://github.com/aquariuslt/blog/actions).