|
|
|
@ -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
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
@ -11,9 +8,7 @@ on:
|
|
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
|
build:
|
|
|
|
|
|
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
|
|
strategy:
|
|
|
|
|
matrix:
|
|
|
|
|
node-version: [10.x, 12.x, 14.x]
|
|
|
|
@ -24,8 +19,8 @@ jobs:
|
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
- run: npm -i shadow-cljs
|
|
|
|
|
- run: npm install
|
|
|
|
|
- run: npm install shadow-cljs
|
|
|
|
|
- run: shadow-cljs compile test
|
|
|
|
|
- run: shadow-cljs release app
|
|
|
|
|
- run: rm -rf target/npm-build
|
|
|
|
|