docs: Improve Elm example (#190)

This commit is contained in:
Shohei Ueda 2020-03-29 15:20:03 +09:00 committed by GitHub
parent 2ea85f7322
commit 87399813a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 3 deletions

View File

@ -839,10 +839,9 @@ jobs:
### ⭐️ Elm ### ⭐️ Elm
An exapmle workflow for [Elm] with [justgook/setup-elm]. An exapmle workflow for [Elm].
[Elm]: https://elm-lang.org [Elm]: https://elm-lang.org
[justgook/setup-elm]: https://github.com/justgook/setup-elm
```yaml ```yaml
name: github pages name: github pages
@ -858,8 +857,13 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Setup Elm - name: Setup Elm
uses: justgook/setup-elm@v1 run: npm install elm --global
- name: Make - name: Make
run: elm make --optimize src/Main.elm run: elm make --optimize src/Main.elm