Skip to content

Commit

Permalink
setup github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
letmaik committed May 6, 2023
1 parent cf1f8dd commit f1e977c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 2 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on:
push:
pull_request:
workflow_dispatch:

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 16.x

- run: npm install

- run: npx vsce package

- uses: actions/upload-artifact@v3
with:
name: package
path: '*.vsix'
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -380,15 +380,16 @@
"@types/node": "^13.5.0",
"@types/vscode": "^1.60.0",
"@types/which": "^1.0.28",
"@vscode/vsce": "^2.19.0",
"ts-loader": "^9.2.6",
"typescript": "^4.4.3",
"webpack": "^5.44.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@vscode/iconv-lite-umd": "0.7.0",
"byline": "^5.0.0",
"file-type": "^7.2.0",
"iconv-lite-umd": "0.6.8",
"jschardet": "3.0.0",
"vscode-nls": "^4.0.0",
"which": "^1.3.0"
Expand Down
2 changes: 1 addition & 1 deletion src/git/git.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as os from 'os';
import * as cp from 'child_process';
import * as which from 'which';
import { EventEmitter } from 'events';
import * as iconv from 'iconv-lite-umd';
import * as iconv from '@vscode/iconv-lite-umd';
import * as filetype from 'file-type';
import { assign, groupBy, IDisposable, toDisposable, dispose, mkdirp, readBytes, detectUnicodeEncoding, Encoding, onceEvent, splitInChunks, Limiter, Versions } from './util';
import { CancellationToken, Progress, Uri } from 'vscode';
Expand Down

0 comments on commit f1e977c

Please sign in to comment.