2021-07-14 15:11:38 +07:00
|
|
|
# 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)
|
2021-03-26 11:54:15 +07:00
|
|
|
- Quick and easy to use
|
2021-03-26 20:45:04 +07:00
|
|
|
- Support custom registry
|
|
|
|
- Support custom shell and commands
|
2021-07-14 15:11:38 +07:00
|
|
|
- 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
|
2021-07-14 15:11:38 +07:00
|
|
|
- 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:
|
2021-07-14 15:11:38 +07:00
|
|
|
branches: [ main ]
|
2021-03-26 20:54:06 +07:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
build:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2021-07-14 15:11:38 +07:00
|
|
|
- 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
|
|
|
```
|
2021-03-26 11:54:15 +07:00
|
|
|
|
|
|
|
# Contributors
|
2021-03-26 20:58:05 +07:00
|
|
|
|
|
|
|
- Sambo Chea <sombochea@cubetiqs.com>
|