Skip to content

Commit

Permalink
feat: support windows
Browse files Browse the repository at this point in the history
  • Loading branch information
jdx committed Sep 25, 2024
1 parent bd6a003 commit 268803f
Show file tree
Hide file tree
Showing 20 changed files with 3,837 additions and 3,539 deletions.
55 changes: 0 additions & 55 deletions .eslintrc.json

This file was deleted.

39 changes: 39 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
env:
node: true
es6: true
jest: true

globals:
Atomics: readonly
SharedArrayBuffer: readonly

ignorePatterns:
- '!.*'
- '**/node_modules/.*'
- '**/dist/.*'
- '**/coverage/.*'
- '*.json'

parser: '@typescript-eslint/parser'

parserOptions:
ecmaVersion: 2023
sourceType: module
project:
- './.github/linters/tsconfig.json'
- './tsconfig.json'

plugins:
- jest
- '@typescript-eslint'

extends:
- eslint:recommended
- plugin:@typescript-eslint/eslint-recommended
- plugin:@typescript-eslint/recommended
- plugin:github/recommended
- plugin:jest/recommended

rules:
'i18n-text/no-en': off
'import/no-namespace': off
83 changes: 0 additions & 83 deletions .github/linters/.eslintrc.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .github/linters/.markdown-lint.yml

This file was deleted.

10 changes: 0 additions & 10 deletions .github/linters/.yaml-lint.yml

This file was deleted.

53 changes: 0 additions & 53 deletions .github/workflows/linter.yml

This file was deleted.

26 changes: 14 additions & 12 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,34 +25,36 @@ jobs:
fail-fast: false
matrix:
os:
- ubuntu-latest
- macos-latest
tool_versions:
- |
nodejs 20
- |
nodejs 18
- ubuntu-latest
- windows-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./
- name: Setup mise
uses: ./
with:
tool_versions: ${{ matrix.tool_versions }}
mise_toml: |
[tools]
node = "22.0.0"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- run: mise --version
- run: mise exec -- node --version
- run: mise x node -- node -v
- run: which node
- run: node -v
- run: node --version
- run: . scripts/test.sh
shell: bash
specific_version:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./
- name: Setup mise
uses: ./
with:
cache_save: ${{ github.ref_name == 'main' }}
cache_key_prefix: mise-v1
version: 2024.1.6
version: 2024.9.6
install_args: bun
mise_toml: |
[tools]
Expand Down
Loading

0 comments on commit 268803f

Please sign in to comment.