starter-docker-yarn-actions/README.md

45 lines
762 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
uses: CUBETIQ/starter-docker-yarn-actions@master
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
uses: cubetiq/starter-docker-yarn-actions@master
2021-03-26 21:33:19 +07:00
with:
2021-03-26 21:51:43 +07:00
shell: sh
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>