Skip to content

Commit

Permalink
Merge pull request #17 from isontheline/staging
Browse files Browse the repository at this point in the history
WIP Auto Semver
  • Loading branch information
isontheline authored Aug 27, 2024
2 parents 55fc984 + 52f9481 commit db4b0eb
Show file tree
Hide file tree
Showing 4 changed files with 58 additions and 2 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Build VSCode SysMon
on:
- push
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 15
permissions:
contents: write
packages: write
attestations: write
id-token: write
steps:
# Prepare Job
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: 22

# Create Release Semver
- name: Generate Semantic Version
id: semver
uses: K-Phoen/semver-release-action@master
with:
release_branch: main
release_strategy: none
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

# Set Project Version
- name: Set Frontend Version
run: npm version ${{ steps.semver.outputs.tag }}
18 changes: 18 additions & 0 deletions .github/workflows/label_check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Label Checker
on:
pull_request:
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
jobs:
check_labels:
name: Check labels
runs-on: ubuntu-latest
steps:
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: major,minor,patch
repo_token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "vscode-sysmon",
"displayName": "VSCode SysMon",
"description": "Visual Studio Code Extension to show system stats inside the status bar",
"version": "1.0.3",
"version": "0.0.0",
"publisher": "isontheline",
"sponsor": {
"url": "https://github.com/sponsors/isontheline"
Expand Down
3 changes: 2 additions & 1 deletion renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"config:recommended"
],
"labels": [
"dependency"
"dependency",
"patch"
]
}

0 comments on commit db4b0eb

Please sign in to comment.