Skip to content

Commit

Permalink
ci: fix several issues and update to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
muuvmuuv committed Jan 22, 2025
1 parent 1473889 commit 71adbe8
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 41 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
name: Feature request
about: Suggest an idea for this project, something you wan to see or improvements
title: "[FEATURE] This would be killin'"
title: "[FEAT] This would be killin'"
labels: ''
assignees: ''
---
Expand Down
80 changes: 42 additions & 38 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
name: Main
permissions:
contents: read
pull-requests: write

on:
push:
Expand All @@ -10,49 +13,50 @@ on:
- published

jobs:
verify:
verify-code:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 22
cache: "npm"
- run: npm ci
- run: npm run package
- run: npm run lint
- run: npm run check

publish-open-vsx:
runs-on: ubuntu-latest
needs:
- verify
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: "npm"
- run: npm ci
- name: Publish to Open VSX Registry
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.OPEN_VSX_TOKEN }}
# publish-open-vsx:
# runs-on: ubuntu-latest
# needs:
# - verify-code
# if: github.event_name == 'release'
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: "npm"
# - run: npm ci
# - run: npm package
# - name: Publish to Open VSX Registry
# uses: HaaLeo/publish-vscode-extension@28e2d3f
# with:
# pat: ${{ secrets.OPEN_VSX_TOKEN }}

publish-vs-marketplace:
runs-on: ubuntu-latest
needs:
- verify
if: github.event_name == 'release'
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16
cache: "npm"
- run: npm ci
- name: Publish to Visual Studio Marketplace
uses: HaaLeo/publish-vscode-extension@v1
with:
pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
registryUrl: https://marketplace.visualstudio.com
# publish-vs-marketplace:
# runs-on: ubuntu-latest
# needs:
# - verify-code
# if: github.event_name == 'release'
# steps:
# - uses: actions/checkout@v4
# - uses: actions/setup-node@v4
# with:
# node-version: 22
# cache: "npm"
# - run: npm ci
# - name: Publish to Visual Studio Marketplace
# uses: HaaLeo/publish-vscode-extension@28e2d3f
# with:
# pat: ${{ secrets.VS_MARKETPLACE_TOKEN }}
# registryUrl: https://marketplace.visualstudio.com
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@

#### Change your VS Code theme/settings based on your sunset, sunrise, system appearance or other preferences!

![Visual Studio Marketplace Rating (Stars)](https://img.shields.io/visual-studio-marketplace/stars/muuvmuuv.vscode-sundial?style=flat-square)
![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/muuvmuuv.vscode-sundial?style=flat-square)
[![Visual Studio Marketplace Rating](https://img.shields.io/visual-studio-marketplace/stars/muuvmuuv.vscode-sundial)](https://marketplace.visualstudio.com/items?itemName=muuvmuuv.vscode-sundial)
[![Visual Studio Marketplace Downloads](https://img.shields.io/visual-studio-marketplace/d/muuvmuuv.vscode-sundial)
](https://marketplace.visualstudio.com/items?itemName=muuvmuuv.vscode-sundial)
![Visual Studio Marketplace Downloads](https://api.codeclimate.com/v1/badges/52f93dc5f852410ef448/maintainability)

- [Installation](#installation)
- [Keybindings](#keybindings)
Expand Down

0 comments on commit 71adbe8

Please sign in to comment.