Skip to content

Commit

Permalink
Add lock file and set up build and test action
Browse files Browse the repository at this point in the history
  • Loading branch information
mnoah1 committed Jun 12, 2024
1 parent 039299b commit 862e700
Show file tree
Hide file tree
Showing 5 changed files with 3,040 additions and 8 deletions.
16 changes: 10 additions & 6 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": [
"../../.eslintrc.json"
],
"ignorePatterns": [
"src/proto"
]
"extends": "./node_modules/gts/",
"rules": {
"node/no-unpublished-import": 0,
"node/no-extraneous-import": 0,
"eqeqeq": 0,
"@typescript-eslint/no-explicit-any": 0,
"@typescript-eslint/no-unused-vars": 0,
"prefer-const": 0,
"no-process-exit": 0
}
}
24 changes: 24 additions & 0 deletions .github/workflows/buildtest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Build and Test VS Code Extension

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
# VS Code uses Node 18
node-version: [18.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- run: yarn install
- run: yarn test:ci
3 changes: 2 additions & 1 deletion .yarnrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
--ignore-engines true
--ignore-engines true
registry "https://registry.yarnpkg.com"
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"baseUrl": ".",
"noImplicitAny": false,
"useUnknownInCatchVariables": false,
"strictPropertyInitialization": false
"strictPropertyInitialization": false,
"moduleResolution": "NodeNext"
},
"exclude": [
"node_modules",
Expand Down
Loading

0 comments on commit 862e700

Please sign in to comment.