starter-docker-yarn-actions/README.md

40 lines
700 B
Markdown
Raw Normal View History

# Starter Docker Yarn - GitHub Actions
2021-03-26 20:58:05 +07:00
2021-03-26 20:45:04 +07:00
- Run actions with docker (latest version)
- Quick and easy to use
2021-03-26 20:45:04 +07:00
- Support custom registry
- Support custom shell and commands
- Support Nodejs and Yarn
2021-03-26 20:45:04 +07:00
# Usage
2021-03-26 20:58:05 +07:00
2021-03-26 20:54:06 +07:00
```yaml
- name: Starter Docker Yarn
2021-07-14 15:26:54 +07:00
uses: CUBETIQ/starter-docker-yarn-actions@main
2021-03-26 20:54:06 +07:00
```
# Example Action
2021-03-26 20:58:05 +07:00
2021-03-26 20:54:06 +07:00
```yaml
name: CI
on:
push:
branches: [ main ]
2021-03-26 20:54:06 +07:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Starter Docker Yarn Test
2021-07-14 15:26:54 +07:00
uses: cubetiq/starter-docker-yarn-actions@main
2021-03-26 21:33:19 +07:00
with:
2021-03-26 21:51:43 +07:00
shell: sh
2021-07-14 15:26:54 +07:00
run: docker version; node --version; npm --version; npx --version; yarn --version
2021-03-26 20:45:04 +07:00
```
# Contributors
2021-03-26 20:58:05 +07:00
- Sambo Chea <sombochea@cubetiqs.com>