Skip to content
Snippets Groups Projects
Commit ffca7ad1 authored by Marcel Nellesen's avatar Marcel Nellesen
Browse files

Updated ci (coscine/issues#1227)

parent 3ee7d33f
No related branches found
No related tags found
1 merge request!22Topic/1227 frontend performance
include:
- project: coscine/tools/gitlab-ci-templates
file:
- /docker-runner.yml
- /nodejs.yml
stages:
- test
- build
# there are more stages in the imported file but we only want to import some
# - test
- publish
- release
- pre_release
before_script:
- yarn install
test:
stage: test
script:
- yarn run build
except:
refs:
- master
- tags
variables:
- $GITLAB_USER_ID == $GIT_BOT_USER_ID
publish:
stage: publish
script:
- yarn run build
- yarn dlx semantic-release
only:
- master
except:
variables:
- $GITLAB_USER_ID == $GIT_BOT_USER_ID
build-branch:
extends: .build-branch
release:
stage: release
script:
- yarn run build
artifacts:
paths:
- dist
only:
- tags
build-npm-release:
extends: .build-npm-release
pre_release:
stage: pre_release
script:
- yarn run build
artifacts:
paths:
- dist
when: manual
except:
- tags
- master
publish-gitlab:
extends: .publish-gitlab-release
enableGlobalCache: true
packageExtensions:
"@vue/cli-service@*":
peerDependencies:
......
......@@ -12,6 +12,7 @@
<script lang="ts">
import Vue from 'vue';
import CreateProject from '@coscine/project-creation';
import '@coscine/project-creation/dist/index.css';
import { LanguageUtil, GuidUtil } from '@coscine/app-util';
Vue.use(CreateProject);
......
......@@ -10,8 +10,13 @@
"allowSyntheticDefaultImports": true,
"sourceMap": true,
"baseUrl": ".",
"skipLibCheck": true,
"outDir": "dist",
"declaration": true,
"declarationDir": "dist",
"types": [
"webpack-env"
"webpack-env",
"node"
],
"paths": {
"@/*": [
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment