Skip to content
Snippets Groups Projects
Commit ed208872 authored by Dominic Klinger's avatar Dominic Klinger
Browse files

Add CI pipeline

parent 1245c797
No related branches found
No related tags found
1 merge request!2Feature/linting
node_modules/
out/
*.vsix
image: node:lts
stages:
- lint
- build
- test
- publish
cache:
paths:
- node_modules/
before_script:
- npm install
lint:
stage: lint
script:
- npm run lint
build:
stage: build
script:
- npm run compile
artifacts:
paths:
- out/
test:
stage: test
script:
- |
apt update
apt install -y libasound2 libgbm1 libgtk-3-0 libnss3 xvfb
xvfb-run -a npm run test
artifacts:
when: always
paths:
- tests.xml
reports:
junit: tests.xml
publish:
stage: publish
script:
- npm run package
artifacts:
paths:
- "*.vsix"
......@@ -8,3 +8,5 @@ vsc-extension-quickstart.md
**/.eslintrc.json
**/*.map
**/*.ts
.gitlab-ci.yml
tests.xml
LICENSE 0 → 100644
MIT License
Copyright (c) 2022 CUTE Extension for VS Code
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
# cute README
This is the README for your extension "cute". After writing up a brief description, we recommend including the following sections.
## Features
Describe specific features of your extension including screenshots of your extension in action. Image paths are relative to this README file.
......@@ -39,14 +37,6 @@ Users appreciate release notes as you update your extension.
Initial release of ...
### 1.0.1
Fixed issue #.
### 1.1.0
Added features X, Y, and Z.
-----------------------------------------------------------------------------------------------------------
## Following extension guidelines
......
This diff is collapsed.
......@@ -3,6 +3,8 @@
"displayName": "CUTE Testing",
"description": "VS Code support for the CUTE testing framework",
"version": "0.0.1",
"homepage": "https://cute-test.com/",
"repository": "https://gitlab.ost.ch/cute-extension-for-vs-code/cute-extension",
"engines": {
"vscode": "^1.66.0"
},
......@@ -83,7 +85,9 @@
"watch": "tsc -watch -p ./",
"pretest": "npm run compile && npm run lint",
"lint": "eslint src --ext ts",
"test": "node ./out/test/runTest.js"
"test": "node ./out/test/runTest.js",
"package": "vsce package"
},
"devDependencies": {
"@types/glob": "^7.2.0",
......@@ -97,7 +101,8 @@
"eslint": "^8.6.0",
"glob": "^7.2.0",
"mocha": "^9.1.3",
"typescript": "^4.5.4"
"typescript": "^4.5.4",
"vsce": "^2.7.0"
},
"dependencies": {
"@types/uuid": "^8.3.4",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment