ci: fix shadow-cljs install ?

This commit is contained in:
jem 2020-06-27 15:43:55 +02:00
parent d1f1850001
commit d25ff69725

View file

@ -1,6 +1,3 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI name: Node.js CI
on: on:
@ -11,9 +8,7 @@ on:
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy: strategy:
matrix: matrix:
node-version: [10.x, 12.x, 14.x] node-version: [10.x, 12.x, 14.x]
@ -24,8 +19,8 @@ jobs:
uses: actions/setup-node@v1 uses: actions/setup-node@v1
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- run: npm -i shadow-cljs
- run: npm install - run: npm install
- run: npm install shadow-cljs
- run: shadow-cljs compile test - run: shadow-cljs compile test
- run: shadow-cljs release app - run: shadow-cljs release app
- run: rm -rf target/npm-build - run: rm -rf target/npm-build