This commit is contained in:
parent
ed1a9242c9
commit
6aaf93b098
2 changed files with 11 additions and 2 deletions
|
@ -53,9 +53,18 @@ jobs:
|
|||
- name: Update version.json from git describe
|
||||
run: pnpm run version
|
||||
|
||||
- name: Set the version in package.json
|
||||
env:
|
||||
VERSION: ${{ steps.version.outputs.version }}
|
||||
run: sed "s/0.0.0/${VERSION}/" -i package.json
|
||||
|
||||
- name: Build package (transpile ts => js)
|
||||
run: ng build
|
||||
|
||||
- name: Publish
|
||||
if: fromJSON(steps.builder.outputs.run)
|
||||
run: pnpm publish
|
||||
|
||||
- name: Build container
|
||||
if: fromJSON(steps.builder.outputs.run)
|
||||
uses: actions/buildah-build@v1
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "treetrail",
|
||||
"version": "0.0.3",
|
||||
"name": "treetrail-frontend",
|
||||
"version": "0.0.0",
|
||||
"scripts": {
|
||||
"ng": "ng",
|
||||
"start": "ng serve --proxy-config proxy.conf.json --port 4201 --serve-path /treetrail",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue