Skip to content

Commit

Permalink
Improve workflow (#45)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
PKief authored Jul 21, 2022
1 parent 31b3b03 commit 564882d
Show file tree
Hide file tree
Showing 15 changed files with 1,008 additions and 1,885 deletions.
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms
github: [pkief]
custom: ['https://paypal.me/philippkief', 'https://buymeacoffee.com/pkief']
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
shell: bash
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
- name: Install node_modules 📦
run: npm install
run: npm ci
- name: Cache node_modules 💾
uses: actions/cache@v2
env:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@ jobs:
node-version: 'lts/*'
- name: Install node_modules 📦
run: |
npm install
npm ci
npm install --global vsce
- name: Update version ↗
run: |
git config --global user.name 'Philipp Kief'
git config --global user.email 'PKief@users.noreply.github.com'
git config --global push.followTags true
git add .
git commit -m "Trigger ${{ env.VERSION_CHANGE }} release"
npm version ${{ env.VERSION_CHANGE }}
npm version ${{ env.VERSION_CHANGE }} -m "Release %s"
- name: Get meta data 🔍
run: |
NODE_VERSION=$(node -p -e "require('./package.json').version")
Expand Down
291 changes: 157 additions & 134 deletions CHANGELOG.md

Large diffs are not rendered by default.

8 changes: 0 additions & 8 deletions auto-changelog.json

This file was deleted.

30 changes: 0 additions & 30 deletions changelog-template.hbs

This file was deleted.

4 changes: 4 additions & 0 deletions changelog.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"repositoryUrl": "https://github.com/PKief/vscode-markdown-checkbox",
"blacklistPattern": "^Release \\d+\\.\\d+\\.\\d+|^\\d+\\.\\d+\\.\\d+$"
}
Loading

0 comments on commit 564882d

Please sign in to comment.