Skip to content

Commit 7e9ae87

Browse files
add github action
1 parent 8c058e8 commit 7e9ae87

File tree

6 files changed

+132
-1
lines changed

6 files changed

+132
-1
lines changed

.github/FUNDING.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
# These are supported funding model platforms
2+
3+
github: [ prathmeshyelne ]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
12+
polar: # Replace with a single Polar username
13+
buy_me_a_coffee: # Replace with a single Buy Me a Coffee username
14+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/ISSUE_TEMPLATE/bug_report.yml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
name: Bug report
2+
description: Report an issue or bug with this Auto Closing Tags extension
3+
labels: ['bug']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this bug report!
9+
- type: checkboxes
10+
id: non_api
11+
attributes:
12+
label: Confirm this is a Auto Closing Tags extension issue and not an underlying issue
13+
description: Issues with the underlying should be reported on our [Developer Community](https://support.codegyan.in)
14+
options:
15+
- label: This is an issue with the Auto Closing Tags extension
16+
required: true
17+
- type: textarea
18+
id: what-happened
19+
attributes:
20+
label: Describe the bug
21+
description: A clear and concise description of what the bug is, and any additional context.
22+
placeholder: Tell us what you see!
23+
validations:
24+
required: true
25+
- type: textarea
26+
id: code-snippets
27+
attributes:
28+
label: Code snippets
29+
description: If applicable, add code snippets to help explain your problem.
30+
render: JavaScript
31+
validations:
32+
required: false
33+
- type: input
34+
id: os
35+
attributes:
36+
label: OS
37+
placeholder: macOS
38+
validations:
39+
required: true
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Feature request
2+
description: Suggest an idea for this Auto Closing Tags extension
3+
labels: ['feature-request']
4+
body:
5+
- type: markdown
6+
attributes:
7+
value: |
8+
Thanks for taking the time to fill out this feature request!
9+
- type: checkboxes
10+
id: non_api
11+
attributes:
12+
label: Confirm this is a feature request for the extension.
13+
description: Feature requests for this Auto Closing Tags should be reported on our [Developer Community](https://support.codegyan.in)
14+
options:
15+
- label: This is a feature request for the Auto Closing Tags extension
16+
required: true
17+
- type: textarea
18+
id: feature
19+
attributes:
20+
label: Describe the feature or improvement you're requesting
21+
description: A clear and concise description of what you want to happen.
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: context
26+
attributes:
27+
label: Additional context
28+
description: Add any other context about the feature request here.

.github/pull_request_template.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!-- Thank you for contributing to this project! -->
2+
<!-- The code in this repository is all auto-generated, and is not meant to be edited manually. -->
3+
<!-- We recommend opening an Issue instead, but you are still welcome to open a PR to share for -->
4+
<!-- an improvement if you wish, just note that we are unlikely to merge it as-is. -->
5+
6+
- [ ] I understand that this repository is auto-generated and my pull request may not be merged
7+
8+
## Changes being requested
9+
10+
## Additional context & links

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
build:
12+
strategy:
13+
fail-fast: false
14+
matrix:
15+
os: [macos-latest, ubuntu-latest, windows-latest]
16+
runs-on: ${{ matrix.os }}
17+
18+
steps:
19+
- name: Checkout Source Code
20+
uses: actions/checkout@v2
21+
22+
- name: Install Node.js
23+
uses: actions/setup-node@v1
24+
with:
25+
node-version: 18.x
26+
27+
- name: Install Dependencies
28+
run: npm install
29+
30+
- name: Build Extension
31+
run: npm run vscode:prepublish
32+
33+
# - name: Run Tests
34+
# run: npm test
35+
36+
- name: Package Extension
37+
run: npx vsce package
38+
39+
# - name: Verify Extension
40+
# run: npx vscode-test

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@
183183
]
184184
},
185185
"scripts": {
186-
"vscode:prepublish": "npm run package",
186+
"vscode:prepublish": "tsc -p ./ && vsce package",
187187
"compile": "webpack",
188188
"watch": "webpack --watch",
189189
"package": "webpack --mode production --devtool hidden-source-map",

0 commit comments

Comments
 (0)