Skip to content

Commit 16ec2e8

Browse files
committed
ci: update test workflow
1 parent e6522bd commit 16ec2e8

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

.github/workflows/test.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,15 @@ jobs:
1414

1515
steps:
1616
- name: Checkout repository
17-
uses: actions/checkout@v3
17+
uses: actions/checkout@v4
1818

19-
- name: Setup Node.js 18.x
20-
uses: actions/setup-node@v3
19+
- name: Setup Node.js 22.x
20+
uses: actions/setup-node@v4
2121
with:
22-
node-version: 18
22+
node-version: 22
2323

2424
- name: Install Task
25-
uses: arduino/setup-task@v1
26-
with:
27-
version: 3.x
28-
repo-token: ${{ secrets.GITHUB_TOKEN }}
25+
uses: go-task/setup-task@v1
2926

3027
- name: Install dependencies
3128
run: task install

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
3535
**Build & Deploy**
3636
- Updated @sveltejs/adapter-netlify from v2.0.7 to v5.2.4 (major version)
3737

38+
**CI/CD**
39+
- Updated GitHub Actions workflow to use latest action versions
40+
- Updated actions/checkout from v3 to v4
41+
- Updated actions/setup-node from v3 to v4
42+
- Updated arduino/setup-task from v1 to v2
43+
- Updated Node.js runtime from 18.x to 22.x (latest LTS)
44+
3845
**Libraries**
3946
- Updated axios from v1.4.0 to v1.13.2
4047
- Updated zod from v3.22.3 to v4.1.12 (major version)
@@ -47,7 +54,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
4754
**Configuration Updates**
4855
- Fixed `svelte.config.js`: Updated `vitePreprocess` import from `@sveltejs/kit/vite` to `@sveltejs/vite-plugin-svelte`
4956
- Fixed `vite.config.js`: Moved `fs.allow` configuration into `server.fs.allow` (Vite v7 requirement)
50-
- Updated `vitest.unit.ts`: Changed coverage provider from 'c8' to 'v8'
57+
- Updated `vitest.unit.ts` and `vitest.components.ts`: Changed coverage provider from 'c8' to 'v8'
58+
- Updated `vitest.unit.ts` and `vitest.components.ts`: Changed deprecated `cache.dir` to `cacheDir` (Vitest v4 requirement)
5159
- Fixed `app.html`: Removed hardcoded `<title>` tag to allow page-specific titles from `<svelte:head>`
5260

5361
**Test Fixes**
@@ -59,6 +67,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5967
- Removed `.concurrent` from all describe blocks to fix nock interceptor issues
6068
- Added missing imports: `beforeEach`, `expect`, `vitest` to test files
6169
- Updated E2E test expectations to match actual page titles with "Photo Browser | " prefix
70+
- Added missing `await` to all `expect().rejects.toThrowError()` assertions (15 tests) for Vitest v3+ compatibility
6271

6372
**Code Quality**
6473
- Fixed Biome linting errors in `src/lib/domain/Group.ts`: Replaced assignment in expression with explicit if statement

0 commit comments

Comments
 (0)