Skip to content

Commit

Permalink
CI: Upload artifacts before running tests
Browse files Browse the repository at this point in the history
This way we can access artifacts to investigate locally if the tests fail.
  • Loading branch information
lovasoa authored Mar 4, 2020
1 parent b880882 commit 597eae3
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,15 @@ jobs:
steps:
- uses: actions/checkout@v1
- uses: mymindstorm/setup-emsdk@v1
with:
version: '1.39.8-fastcomp'
with: {version: '1.39.8-fastcomp'}
- uses: actions/cache@v1
id: cache
with:
path: ~/.emscripten_cache
key: emscripten-1.39.8-fastcomp
- name: make
run: make
- uses: actions/upload-artifact@master
with: {name: dist, path: dist}
- name: test
run: npm ci && npm test
- uses: actions/upload-artifact@master
with:
name: dist
path: dist

0 comments on commit 597eae3

Please sign in to comment.