Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
irwiss committed Jun 27, 2023
0 parents commit c155a25
Show file tree
Hide file tree
Showing 13 changed files with 6,325 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/naming-convention": "warn",
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": [
"**/*.d.ts"
]
}
35 changes: 35 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: Publish

on:
release:
types:
- created

jobs:
build:
name: Publish
runs-on: ubuntu-latest

steps:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 'lts/*'

- name: Checkout
uses: actions/checkout@v3

- run: npm install

# - run: xvfb-run -a npm test
# if: runner.os == 'Linux'

# - run: npm test
# if: runner.os != 'Linux'

- run: npm version --git-tag-version false ${{ github.event.release.tag_name }}

- name: Publish
run: npm run deploy
env:
VSCE_PAT: ${{ secrets.VSCE_PAT }}
Loading

0 comments on commit c155a25

Please sign in to comment.