Skip to content

Commit

Permalink
fix: release and build so we have the right release tag on the docker…
Browse files Browse the repository at this point in the history
… image
  • Loading branch information
ZavenArra committed Dec 10, 2020
1 parent 5af5cde commit d3c9a15
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/treetracker-wallet-api-build-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,18 @@ env:
project-directory: ./

jobs:
# test:
# - name: npm clean install
# run: npm ci
# working-directory: ${{ env.project-directory }}
# - name: run ESLint
# run: npm run lint
#working-directory: ${{ env.project-directory }}
#- name: build server project
#run: npm run build
#working-directory: ${{ env.project-directory }}
build:
name: Build Server Project
name: Release and Build
runs-on: ubuntu-latest
if: |
!contains(github.event.head_commit.message, 'skip-ci') &&
Expand All @@ -25,15 +35,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '12.x'
- run: npm i -g semantic-release @semantic-release/{git,exec,changelog}
- run: semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: npm clean install
run: npm ci
working-directory: ${{ env.project-directory }}
# - name: run ESLint
# run: npm run lint
#working-directory: ${{ env.project-directory }}
#- name: build server project
#run: npm run build
#working-directory: ${{ env.project-directory }}
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@master
Expand Down

0 comments on commit d3c9a15

Please sign in to comment.