Skip to content

Commit 984e2e2

Browse files
authored
chore(ci): Add GitHub actions, refine manifest (#3)
1 parent 6737697 commit 984e2e2

File tree

5 files changed

+55
-8
lines changed

5 files changed

+55
-8
lines changed

.github/workflows/ci.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
branches: [develop]
6+
pull_request:
7+
branches: [develop]
8+
9+
jobs:
10+
bundle:
11+
name: Bundle
12+
runs-on: ubuntu-20.04
13+
steps:
14+
- name: Checkout repository
15+
uses: actions/checkout@v2
16+
- name: Setup NodeJS
17+
uses: actions/setup-node@v2
18+
with:
19+
node-version: 14.15.x
20+
- name: Install dependencies
21+
run: npm ci
22+
- name: Bundle
23+
run: npm run bundle

.github/workflows/release.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Release
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
jobs:
8+
bundle-and-publish:
9+
name: Bundle & Publish
10+
runs-on: ubuntu-20.04
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v2
14+
- name: Setup NodeJS
15+
uses: actions/setup-node@v2
16+
with:
17+
node-version: 14.15.x
18+
- name: Install dependencies
19+
run: npm ci
20+
- name: Bundle & Publish
21+
run: npm run bundle-and-publish
22+
env:
23+
VSCE_PAT: ${{ secrets.VSCE_PAT }}

.vscodeignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.vscode/**
22
.gitignore
3+
.github/**
34
assets/icon.aep
45
assets/icon-small.png
56
assets/preview.png

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44

55
![Logo](assets/icon-small.png?raw=true)
66

7-
# Deep Ocean
7+
# Deep Ocean Theme
88

9-
**Deep Ocean Theme for Visual Studio Code, based on Oceanic Next**
9+
**Dark color theme based on Oceanic Next**
1010

1111
</div>
1212

package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "vscode-theme-deep-ocean",
2+
"name": "theme-deep-ocean",
3+
"publisher": "itsdevdom",
34
"version": "1.0.0",
4-
"displayName": "Deep Ocean",
5-
"description": "Deep Ocean Theme for Visual Studio Code, based on Oceanic Next",
5+
"displayName": "Deep Ocean Theme",
6+
"description": "Dark color theme based on Oceanic Next",
67
"repository": {
78
"type": "git",
89
"url": "https://github.com/dominique-mueller/vscode-theme-deep-ocean"
910
},
10-
"publisher": "itsdevdom",
1111
"engines": {
1212
"vscode": "^1.59.0"
1313
},
@@ -30,8 +30,8 @@
3030
},
3131
"scripts": {
3232
"clean": "rimraf *.vsix",
33-
"bundle": "vsce package --no-git-tag-version",
34-
"publish": "vsce publish --no-git-tag-version"
33+
"bundle": "vsce ls && vsce package",
34+
"bundle-and-publish": "vsce ls && vsce publish"
3535
},
3636
"devDependencies": {
3737
"rimraf": "3.0.x",

0 commit comments

Comments
 (0)