Skip to content
Snippets Groups Projects
Commit 7b687856 authored by ko_oler's avatar ko_oler
Browse files

fix .gitlab-ci.yml

parent 987ac993
No related branches found
No related tags found
1 merge request!1Добавлена генерация файлов для frontend в Makefile и публикацию npm-пакета
Pipeline #19090 failed with stage
in 10 seconds
...@@ -15,10 +15,5 @@ publish_npm: ...@@ -15,10 +15,5 @@ publish_npm:
changes: changes:
- config/package.json - config/package.json
script: script:
- npm install -g ts-proto@1.115.5 - cd ./perxis-proto/proto
- npm install -g typescript@4.7.4 - ls -a
- make proto \ No newline at end of file
- cd ./config
- NPM_PACKAGE_VERSION=$(node -p "require('./package.json').version")
- yarn pub
- echo "Successfully published version ${NPM_PACKAGE_VERSION} to GitLab's NPM registry"
\ No newline at end of file
.PHONY: proto-js .FORCE .PHONY: proto-js .FORCE
SHELL = /bin/bash -o pipefail SHELL = /bin/bash -o pipefail
PROTODIR=./perxis-proto/proto PROTODIR=perxis-proto/proto
DSTDIR=./config/dist DSTDIR=config/dist
ALLPROTO?=$(shell find $(PROTODIR) -name '*.proto' ) ALLPROTO?=$(shell find $(PROTODIR) -name '*.proto' )
PROTOFILES= $(filter-out proto/status/status.proto, $(ALLPROTO)) PROTOFILES= $(filter-out proto/status/status.proto, $(ALLPROTO))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment