Skip to content

Commit 564882d

Browse files
authored
Improve workflow (#45)
* Trigger minor release * 1.8.0 * Update release workflow * Remove git staging as no files should be dirty * Update release commit message Should be the same commit messages as used before * Add meta information * Use npm ci * Use changelog-machine for generating changelog * Update webpack config * Update packages * Add types for glob package * Update test setup
1 parent 31b3b03 commit 564882d

File tree

15 files changed

+1008
-1885
lines changed

15 files changed

+1008
-1885
lines changed

.github/FUNDING.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# These are supported funding model platforms
2+
github: [pkief]
3+
custom: ['https://paypal.me/philippkief', 'https://buymeacoffee.com/pkief']

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
shell: bash
2525
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
2626
- name: Install node_modules 📦
27-
run: npm install
27+
run: npm ci
2828
- name: Cache node_modules 💾
2929
uses: actions/cache@v2
3030
env:

.github/workflows/release.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,14 @@ jobs:
2828
node-version: 'lts/*'
2929
- name: Install node_modules 📦
3030
run: |
31-
npm install
31+
npm ci
3232
npm install --global vsce
3333
- name: Update version ↗
3434
run: |
3535
git config --global user.name 'Philipp Kief'
3636
git config --global user.email 'PKief@users.noreply.github.com'
3737
git config --global push.followTags true
38-
git add .
39-
git commit -m "Trigger ${{ env.VERSION_CHANGE }} release"
40-
npm version ${{ env.VERSION_CHANGE }}
38+
npm version ${{ env.VERSION_CHANGE }} -m "Release %s"
4139
- name: Get meta data 🔍
4240
run: |
4341
NODE_VERSION=$(node -p -e "require('./package.json').version")

CHANGELOG.md

Lines changed: 157 additions & 134 deletions
Large diffs are not rendered by default.

auto-changelog.json

Lines changed: 0 additions & 8 deletions
This file was deleted.

changelog-template.hbs

Lines changed: 0 additions & 30 deletions
This file was deleted.

changelog.config.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"repositoryUrl": "https://github.com/PKief/vscode-markdown-checkbox",
3+
"blacklistPattern": "^Release \\d+\\.\\d+\\.\\d+|^\\d+\\.\\d+\\.\\d+$"
4+
}

0 commit comments

Comments
 (0)