Skip to content

Commit

Permalink
Fix github-action
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-lafont committed Jun 7, 2020
1 parent 60135dd commit c97276d
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: [master]

jobs:
build:
release:
runs-on: ubuntu-latest

steps:
Expand Down Expand Up @@ -53,8 +53,9 @@ jobs:
node-version: '12.x'
- name: CLIENT - Install dependencies
run: cd client; yarn --frozen-lockfile
- name: CLIENT - Run tests
run: cd client; yarn test
# Disabled step because... there is not JS tests...
# - name: CLIENT - Run tests
# run: cd client; yarn test
- name: CLIENT - Build production app
run: cd client; yarn build
- name: CLIENT - Zip build folder
Expand All @@ -71,7 +72,7 @@ jobs:
draft: false
prerelease: false
- name: Upload API release artifact in Github Release
id: upload-release-asset
id: upload-api-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -81,7 +82,7 @@ jobs:
asset_name: mocky-api-${{ steps.previoustag.outputs.tag }}.zip
asset_content_type: application/zip
- name: Upload CLIENT release artifact in Github Release
id: upload-release-asset
id: upload-front-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit c97276d

Please sign in to comment.