Skip to content

Commit b1b5b2d

Browse files
committed
Update webpack & readme
1 parent 1253dab commit b1b5b2d

5 files changed

+29
-11
lines changed

.vscodeignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,5 @@ node_modules
33
out/
44
src/
55
tsconfig.json
6-
webpack.config.js
6+
webpack.config.js
7+
!node_modules/keytar

README.md

+18-5
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,32 @@
11
# GitHub Actions for VS Code
22

3+
**This is pre-release software, use at your own risk**
4+
35
![GitHub Workflow Status](https://img.shields.io/github/workflow/status/cschleiden/vscode-github-actions/Build)
46

5-
Very simple, unofficial extension to interact with GitHub Actions from within VS Code.
7+
Very simple, **unofficial** extension to interact with GitHub Actions from within VS Code.
8+
9+
## Installation
10+
11+
1. Install extension
12+
2. Open a repository with a `github.com` origin
13+
3. When prompted, enter a PAT with `repo` scope to authenticate against the API
614

7-
# View workflows for the currently opened repository
15+
## Features
16+
17+
### View workflows for the currently opened repository
818

919
![](./media/runs.png)
1020

11-
# View workflow runs and conclusions
21+
### View workflow runs and conclusions
1222

1323
![](./media/runs2.png)
1424

15-
# Trigger runs
25+
### Trigger runs
1626

1727
If a workflow uses `repository_dispatch` as a trigger, you can start a new workflow run from the VS Code view:
1828

19-
![](./media/rdispatch.gif)
29+
![](./media/rdispatch.gif)
30+
31+
## Known issues
32+

package-lock.json

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"url": "https://github.com/cschleiden/vscode-github-actions"
77
},
88
"description": "",
9-
"version": "0.1.6",
9+
"version": "0.1.9",
1010
"engines": {
1111
"vscode": "^1.41.0"
1212
},

webpack.config.js

+7-3
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,15 @@ const config = {
1818
},
1919
devtool: "source-map",
2020
externals: {
21-
vscode: "commonjs vscode" // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
21+
vscode: "commonjs vscode", // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/
22+
keytar: "keytar"
2223
},
2324
resolve: {
2425
// support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader
25-
extensions: [".ts", ".js"]
26+
extensions: [".ts", ".js"],
27+
alias: {
28+
"universal-user-agent$": "universal-user-agent/dist-node/index.js"
29+
}
2630
},
2731
module: {
2832
rules: [
@@ -37,7 +41,7 @@ const config = {
3741
},
3842
{
3943
test: /\.node$/,
40-
use: 'node-loader'
44+
use: "node-loader"
4145
}
4246
]
4347
}

0 commit comments

Comments
 (0)