Skip to content

Commit

Permalink
use npm to install elm instead of action
Browse files Browse the repository at this point in the history
  • Loading branch information
shnewto committed Nov 11, 2023
1 parent 66c8367 commit d231bcb
Showing 1 changed file with 13 additions and 36 deletions.
49 changes: 13 additions & 36 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,15 @@ jobs:
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: setup elm
uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- name: install elm
run: |
npm install elm
- name: build
run: |
elm make
./node_modules/elm/bin/elm make
- name: build docs
run: |
elm make --docs=docs.json
./node_modules/elm/bin/elm make --docs=docs.json
- name: install elm-format
run: |
npm install elm-format
Expand All @@ -40,32 +39,12 @@ jobs:
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: setup elm
uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- name: build
run: |
elm make
- name: install elm-test
run: |
npm install elm-test
- name: test
- name: install elm
run: |
./node_modules/elm-test/bin/elm-test
windows-latest-nightly:
runs-on: windows-latest
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: setup elm
uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
npm install elm
- name: build
run: |
elm make
./node_modules/elm/bin/elm make
- name: install elm-test
run: |
npm install elm-test
Expand All @@ -78,17 +57,15 @@ jobs:
steps:
- name: checkout repo
uses: actions/checkout@v2
- name: setup elm
uses: jorelali/setup-elm@v5
with:
elm-version: 0.19.1
- name: install elm
run: |
npm install elm
- name: build
run: |
elm make
./node_modules/elm/bin/elm make
- name: install elm-test
run: |
npm install elm-test
- name: test
run: |
./node_modules/elm-test/bin/elm-test
command: test
./node_modules/elm-test/bin/elm-test

0 comments on commit d231bcb

Please sign in to comment.