Skip to content

Commit

Permalink
Support vite v6 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
atlowChemi authored Jan 29, 2025
1 parent e954dae commit 2ecbbbc
Show file tree
Hide file tree
Showing 7 changed files with 3,013 additions and 1,308 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: npm
- name: check npm ci
- name: execute npm ci
run: npm ci
lint:
name: run lint
Expand All @@ -30,12 +30,12 @@ jobs:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: npm
- name: npm ci
- name: execute npm ci
run: npm ci
- name: run lint
run: npm run lint -- --max-warnings=0
run: node --run lint -- --max-warnings=0
format:
name: run format
runs-on: ubuntu-latest
Expand All @@ -46,7 +46,7 @@ jobs:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: npm
- name: npm ci
run: npm ci
Expand All @@ -62,12 +62,12 @@ jobs:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: npm
- name: npm ci
run: npm ci
- name: run build
run: npm run build
run: node --run build
- uses: actions/upload-artifact@v4
with:
name: dist
Expand All @@ -82,7 +82,7 @@ jobs:
- name: setup Node
uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: npm
- name: npm ci
run: npm ci
Expand All @@ -91,13 +91,13 @@ jobs:
name: dist
path: dist
- name: run type-check
run: npm run type-check
run: node --run type-check
test:
name: run test
needs: [packages, build]
strategy:
matrix:
node_version: [18.x, 20.x, 21.x, 22.x]
node_version: [18.x, 20.x, 22.x, 23.x]
os: [ubuntu-latest]
fail-fast: false
runs-on: ${{ matrix.os }}
Expand Down
Loading

0 comments on commit 2ecbbbc

Please sign in to comment.