diff --git a/.github/workflows/release-dev.yml b/.github/workflows/release-dev.yml index c1f4cfe..8eff2df 100644 --- a/.github/workflows/release-dev.yml +++ b/.github/workflows/release-dev.yml @@ -31,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/ diff --git a/.github/workflows/release-prod.yml b/.github/workflows/release-prod.yml index 1806229..7675c85 100644 --- a/.github/workflows/release-prod.yml +++ b/.github/workflows/release-prod.yml @@ -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/ diff --git a/.github/workflows/test-pr.yml b/.github/workflows/test-pr.yml index 45186d5..4d983fb 100644 --- a/.github/workflows/test-pr.yml +++ b/.github/workflows/test-pr.yml @@ -32,6 +32,8 @@ 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