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 }} node-version: ${{ matrix.node-version }}
- name: test em - name: test em
run: run: npm install && npm install -g --save-dev shadow-cljs && shadow-cljs compile test
- npm install
- npm install -g --save-dev shadow-cljs
- shadow-cljs compile test
- name: build release with node.js 14.x - name: build release with node.js 14.x
uses: actions/setup-node@v1 uses: actions/setup-node@v1
@ -44,13 +41,7 @@ jobs:
node-version: 14.x node-version: 14.x
- name: build em - name: build em
run: 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 .
- 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 - name: Create Release
id: create_release id: create_release