|
|
|
@ -1,5 +1,4 @@
|
|
|
|
|
name: release prod
|
|
|
|
|
|
|
|
|
|
on:
|
|
|
|
|
push:
|
|
|
|
|
tags: '[0-9]+.[0-9]+.[0-9]+'
|
|
|
|
@ -32,14 +31,18 @@ jobs:
|
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
|
|
|
|
|
- name: test 'em
|
|
|
|
|
run: npm install
|
|
|
|
|
run: npm install -g --save-dev shadow-cljs
|
|
|
|
|
run: shadow-cljs compile test
|
|
|
|
|
|
|
|
|
|
- name: build release with node.js ${{ matrix.node-version }}
|
|
|
|
|
- name: build release with node.js 14.x
|
|
|
|
|
uses: actions/setup-node@v1
|
|
|
|
|
with:
|
|
|
|
|
node-version: ${{ matrix.node-version }}
|
|
|
|
|
node-version: 14.x
|
|
|
|
|
|
|
|
|
|
- name: build 'em
|
|
|
|
|
run: shadow-cljs release app
|
|
|
|
|
run: mkdir -p target/npm-build
|
|
|
|
|
run: cp mastodon-bot.js target/npm-build/
|
|
|
|
|