Skip to content

Commit

Permalink
Merge 7e19ae6 into 755be58
Browse files Browse the repository at this point in the history
  • Loading branch information
viktor-podzigun committed Aug 10, 2022
2 parents 755be58 + 7e19ae6 commit cf90925
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,19 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}

- name: Publish SNAPSHOT
- name: Build SNAPSHOT artifact
run: |
sbt -mem 2048 clean "project farjs-app" fullOptJS::webpack
cd app/target/scala-2.13/scalajs-bundler/main
npm pack
if: ${{ !github.event.pull_request && env.TAG_NAME == '' }}
if: ${{ env.TAG_NAME == '' }}

- name: Upload SNAPSHOT artifact
uses: actions/upload-artifact@v3
with:
name: farjs-app@0.1.0-SNAPSHOT
path: app/target/scala-2.13/scalajs-bundler/main/farjs-app-0.1.0-SNAPSHOT.tgz
if: ${{ env.TAG_NAME == '' }}

- name: Publish RELEASE
run: |
Expand Down

0 comments on commit cf90925

Please sign in to comment.