Skip to content

Commit 6d76640

Browse files
authored
Merge pull request #41 from MetabobProject/ci/build-pipeline
build pipeline improvements
2 parents 28aeca1 + fe2a795 commit 6d76640

File tree

3 files changed

+27
-1
lines changed

3 files changed

+27
-1
lines changed

.github/workflows/tests.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Tests
2+
3+
on:
4+
pull_request:
5+
branches: [main]
6+
7+
jobs:
8+
tests:
9+
name: Run Unit Tests
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- name: Checkout
14+
uses: actions/checkout@v3
15+
16+
- name: Setup Node.js
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: '18'
20+
21+
- name: Install Dependencies
22+
run: npm ci
23+
24+
- name: Run Tests
25+
run: npm test

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "metabob",
33
"displayName": "Metabob: Debug and Refactor with AI",
44
"description": "Generative AI to automate debugging and refactoring Python code",
5-
"version": "1.1.0",
5+
"version": "1.2.0",
66
"icon": "media/extension-icon.png",
77
"repository": {
88
"url": "https://github.com/MetabobProject/metabob-vscode",

src/hooks/useUser.tsx

+1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@ import { useContext } from 'react';
22
import { AccountSettingContext } from '../context/UserContext';
33

44
// @ts-ignore
5+
// eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types
56
export const useUser = () => useContext(AccountSettingContext);

0 commit comments

Comments
 (0)