Skip to content

Commit

Permalink
Update CI workflow to include getting version number from package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
danishjoseph committed Apr 24, 2024
1 parent a0f636e commit c9f4122
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ jobs:

- name: Run Unit tests
run: yarn test --colors

- name: Get version number
id: version
run: echo 'VERSION=$(node -p "require('./package.json').version")' >> $GITHUB_ENV

build-and-push:
name: Build & push to DockerHub
Expand Down

0 comments on commit c9f4122

Please sign in to comment.