Skip to content

Commit

Permalink
fix: experimental in mise, add buildtest/cleantest
Browse files Browse the repository at this point in the history
  • Loading branch information
deregtd committed Aug 31, 2024
1 parent bf9da26 commit da827e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Install Tool Versions
uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc
with:
experimental: true
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Install Semantic-Release
Expand Down
6 changes: 6 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,15 @@
nodejs = "22"
yarn = "1.22.22"

[tasks.cleantest]
description = "Clean the test directory"
dir = "test"
run = ["git clean -xdf"]

[tasks.buildtest]
description = "Build the test template module to validate the templates"
dir = "test"
depends = ["cleantest"]
run = [
"stencil",
"mise install",
Expand Down
2 changes: 2 additions & 0 deletions templates/.github/workflows/build-release.yml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,8 @@ jobs:
token: {{ "${{ secrets.GITHUB_TOKEN }}" }}
- name: Install Tool Versions
uses: jdx/mise-action@052520c41a328779551db19a76697ffa34f3eabc
with:
experimental: true
env:
GH_TOKEN: {{ "${{ secrets.GITHUB_TOKEN }}" }}
- name: Install Semantic-Release
Expand Down

0 comments on commit da827e3

Please sign in to comment.