Compare commits
5 commits
4ed8fc7d55
...
6aaf93b098
Author | SHA1 | Date | |
---|---|---|---|
6aaf93b098 | |||
ed1a9242c9 | |||
fd6e67b332 | |||
6949d96117 | |||
1bf7ef7e28 |
3 changed files with 17 additions and 4 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
|
||||
|
|
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -44,3 +44,5 @@ testem.log
|
|||
# System Files
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
|
||||
.npmrc
|
||||
|
|
10
package.json
10
package.json
|
@ -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",
|
||||
|
@ -10,7 +10,6 @@
|
|||
"openapi-ts": "openapi-ts",
|
||||
"version": "echo \"{\\\"version\\\":\\\"$(git describe --tags --dirty --always)\\\"}\" > src/version.json"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@angular/animations": "^18.2.6",
|
||||
"@angular/cdk": "^18.2.6",
|
||||
|
@ -62,5 +61,8 @@
|
|||
"karma-jasmine-html-reporter": "^2.1.0",
|
||||
"typescript": "~5.4.5"
|
||||
},
|
||||
"packageManager": "pnpm@9.12.2"
|
||||
"packageManager": "pnpm@9.12.2",
|
||||
"publishConfig": {
|
||||
"registry": "http://code.philo.ydns.eu/api/packages/philorg/npm/"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue