Fork of mise-action for forgejo
Find a file
renovate[bot] 5e49f778bb
Some checks failed
build-test / test (ubuntu-latest) (push) Waiting to run
build-test / test (windows-latest) (push) Waiting to run
build-test / specific_version (push) Waiting to run
build-test / build (push) Waiting to run
Continuous Integration / TypeScript Tests (push) Has been cancelled
Check dist/ / Check dist/ (push) Has been cancelled
build-test / test (macos-latest) (push) Waiting to run
CodeQL / Analyze (push) Has been cancelled
chore(deps): update dependency globals to v16 (#6)
This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [globals](https://github.com/sindresorhus/globals) | devDependencies | major | [`^15.14.0` -> `^16.0.0`](https://renovatebot.com/diffs/npm/globals/15.14.0/16.0.0) |

---

### Release Notes

<details>
<summary>sindresorhus/globals (globals)</summary>

### [`v16.0.0`](https://github.com/sindresorhus/globals/releases/tag/v16.0.0)

[Compare Source](https://github.com/sindresorhus/globals/compare/v15.15.0...v16.0.0)

##### Breaking

-   The `serviceworker` globals are now generated from browsers ([#&#8203;281](https://github.com/sindresorhus/globals/issues/281))  [`039ed51`](https://github.com/sindresorhus/globals/commit/039ed51)
    -   It's a breaking change as a few globals have been removed.

***

### [`v15.15.0`](https://github.com/sindresorhus/globals/releases/tag/v15.15.0)

[Compare Source](https://github.com/sindresorhus/globals/compare/v15.14.0...v15.15.0)

-   Regenerate vitest globals ([#&#8203;279](https://github.com/sindresorhus/globals/issues/279))  [`445df81`](https://github.com/sindresorhus/globals/commit/445df81)

***

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 4am on Friday" in timezone America/Chicago, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box

---

This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzOS4xODIuNCIsInVwZGF0ZWRJblZlciI6IjM5LjE4Mi40IiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6W119-->

Reviewed-on: #6
Co-authored-by: renovate[bot] <renovate@rgst.io>
Co-committed-by: renovate[bot] <renovate@rgst.io>
2025-02-28 21:14:10 +00:00
.github fix: renovate artifact updates 2024-10-25 09:03:56 -05:00
.husky chore(deps): lock file maintenance (#102) 2024-07-29 18:40:29 +00:00
dist feat: add github_token 2025-01-25 21:54:07 -08:00
scripts feat: support windows (#122) 2024-09-25 21:27:52 +00:00
src chore: pretty 2025-01-25 21:56:55 -08:00
.eslintrc.yml feat: support windows (#122) 2024-09-25 21:27:52 +00:00
.gitattributes updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
.gitignore updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
.prettierignore updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
.prettierrc.json updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00
action.yml feat: add github_token 2025-01-25 21:54:07 -08:00
CHANGELOG.md 2.1.11 2024-12-30 10:44:47 -06:00
cliff.toml chore: migrate away from deprecated git-cliff syntax 2024-09-25 16:34:56 -05:00
CODEOWNERS jdxcode -> jdx 2023-08-27 12:12:44 -05:00
eslint.config.mjs chore: updated deps 2024-11-27 18:10:51 -06:00
LICENSE Initial commit 2023-01-14 08:11:40 -06:00
mise.toml chore: loosen node version 2024-12-23 11:40:23 -08:00
package-lock.json chore(deps): update dependency globals to v16 (#6) 2025-02-28 21:14:10 +00:00
package.json chore(deps): update dependency globals to v16 (#6) 2025-02-28 21:14:10 +00:00
README.md docs: restore estranged comment for tool_versions (#164) 2025-01-08 16:33:55 -06:00
tsconfig.json updated action template base from actions/typescript-action (#170) 2023-10-16 19:18:57 -05:00

Example Workflow

name: test
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
jobs:
  lint:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: jdx/mise-action@v2
        with:
          version: 2024.10.0 # [default: latest] mise version to install
          install: true # [default: true] run `mise install`
          install_args: "bun" # [default: ""] additional arguments to `mise install`
          cache: true # [default: true] cache mise using GitHub's cache
          experimental: true # [default: false] enable experimental features
          log_level: debug # [default: info] log level
          # automatically write this .tool-versions file
          tool_versions: |
            shellcheck 0.9.0
          # or, if you prefer .mise.toml format:
          mise_toml: |
            [tools]
            shellcheck = "0.9.0"
          working_directory: app # [default: .] directory to run mise in
      - run: shellcheck scripts/*.sh
  test:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: jdx/mise-action@v2
      # .tool-versions will be read from repo root
      - run: node ./my_app.js

Alternatively, mise is easy to use in GitHub Actions even without this:

jobs:
  build:
    steps:
    - run: |
        curl https://mise.run | sh
        echo "$HOME/.local/share/mise/bin" >> $GITHUB_PATH
        echo "$HOME/.local/share/mise/shims" >> $GITHUB_PATH