try to fix run

This commit is contained in:
jem 2020-06-29 18:06:14 +02:00
parent dc7818e775
commit 80681be786

View file

@ -33,10 +33,7 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: test em
run:
- npm install
- npm install -g --save-dev shadow-cljs
- shadow-cljs compile test
run: npm install && npm install -g --save-dev shadow-cljs && shadow-cljs compile test
- name: build release with node.js 14.x
uses: actions/setup-node@v1
@ -44,13 +41,7 @@ jobs:
node-version: 14.x
- name: build em
run:
- shadow-cljs release app
- mkdir -p target/npm-build
- cp mastodon-bot.js target/npm-build/
- cp package.json target/npm-build/
- cp README.md target/npm-build/
- tar -cz -C target/npm-build -f target/npm-build.tgz .
run: shadow-cljs release app && mkdir -p target/npm-build && cp mastodon-bot.js target/npm-build/ && cp package.json target/npm-build/ && cp README.md target/npm-build/ && tar -cz -C target/npm-build -f target/npm-build.tgz .
- name: Create Release
id: create_release