Skip to content

Commit

Permalink
Set up rollup, CI & CD
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesdabbs committed Mar 28, 2021
1 parent 21a8815 commit 129d8be
Show file tree
Hide file tree
Showing 14 changed files with 3,106 additions and 1,322 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release

on:
release:
types:
- created

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- uses: bahmutov/npm-install@v1
- name: Publish
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
out
dist/
node_modules
.vscode-test/
*.vsix
16 changes: 13 additions & 3 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,26 @@
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"script": "build",
"problemMatcher": "$tsc",
"presentation": {
"panel": "dedicated",
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch",
"problemMatcher": "$tsc-watch",
"isBackground": false,
"presentation": {
"reveal": "never"
},
"group": "build"
}
]
}
1 change: 1 addition & 0 deletions .vscodeignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ vsc-extension-quickstart.md
**/.eslintrc.json
**/*.map
**/*.ts
node_modules/
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
TODO: fill this out
[![Release](https://github.com/pi-base/vscode/workflows/Release/badge.svg?branch=main)](https://github.com/pi-base/vscode/actions/workflows/release.yml)

TODO: fill this out .
Loading

0 comments on commit 129d8be

Please sign in to comment.