Skip to content

Commit 129d8be

Browse files
committed
Set up rollup, CI & CD
1 parent 21a8815 commit 129d8be

File tree

14 files changed

+3106
-1322
lines changed

14 files changed

+3106
-1322
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types:
6+
- created
7+
8+
jobs:
9+
publish:
10+
name: Publish
11+
runs-on: ubuntu-latest
12+
steps:
13+
- name: Checkout code
14+
uses: actions/checkout@v2
15+
- uses: bahmutov/npm-install@v1
16+
- name: Publish
17+
run: npm run deploy
18+
env:
19+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
out
1+
dist/
22
node_modules
33
.vscode-test/
44
*.vsix

.vscode/tasks.json

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,16 +3,26 @@
33
"tasks": [
44
{
55
"type": "npm",
6-
"script": "watch",
7-
"problemMatcher": "$tsc-watch",
8-
"isBackground": true,
6+
"script": "build",
7+
"problemMatcher": "$tsc",
98
"presentation": {
9+
"panel": "dedicated",
1010
"reveal": "never"
1111
},
1212
"group": {
1313
"kind": "build",
1414
"isDefault": true
1515
}
16+
},
17+
{
18+
"type": "npm",
19+
"script": "watch",
20+
"problemMatcher": "$tsc-watch",
21+
"isBackground": false,
22+
"presentation": {
23+
"reveal": "never"
24+
},
25+
"group": "build"
1626
}
1727
]
1828
}

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,4 @@ vsc-extension-quickstart.md
99
**/.eslintrc.json
1010
**/*.map
1111
**/*.ts
12+
node_modules/

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,3 @@
1-
TODO: fill this out
1+
[![Release](https://github.com/pi-base/vscode/workflows/Release/badge.svg?branch=main)](https://github.com/pi-base/vscode/actions/workflows/release.yml)
2+
3+
TODO: fill this out .

0 commit comments

Comments
 (0)