one more try #899

This commit is contained in:
jem 2020-06-29 17:58:40 +02:00
parent e2bf78f090
commit dc7818e775

View file

@ -32,23 +32,25 @@ jobs:
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
- name: test 'em - name: test em
run: npm install run:
run: npm install -g --save-dev shadow-cljs - npm install
run: shadow-cljs compile test - 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
with: with:
node-version: 14.x node-version: 14.x
- name: build 'em - name: build em
run: shadow-cljs release app run:
run: mkdir -p target/npm-build - shadow-cljs release app
run: cp mastodon-bot.js target/npm-build/ - mkdir -p target/npm-build
run: cp package.json target/npm-build/ - cp mastodon-bot.js target/npm-build/
run: cp README.md target/npm-build/ - cp package.json target/npm-build/
run: tar -cz -C target/npm-build -f target/npm-build.tgz . - 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