alpha
Login
or
Join now
danielroe.dev
/
cross-origin-storage
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
[READ-ONLY] Mirror of https://github.com/danielroe/cross-origin-storage. Load shared dependencies from Cross-Origin Storage (COS).
cross-origin-storage
experimental
nuxt
vite
vite-plugin
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
ci: update for monorepo
author
Daniel Roe
date
3 hours ago
(Jun 25, 2026, 5:44 PM +0100)
commit
f8d4d3cc
f8d4d3cc576ee987c588014c1b402db597998bc4
parent
c464b804
c464b80471cfff12b71eb29e12de19a51c8b0d05
+32
-19
1 changed file
Expand all
Collapse all
Unified
Split
.github
workflows
ci.yml
+32
-19
.github/workflows/ci.yml
Reviewed
···
8
8
branches:
9
9
- main
10
10
11
11
+
permissions: {}
12
12
+
11
13
jobs:
12
14
lint:
13
15
runs-on: ubuntu-latest
14
14
-
15
16
steps:
16
17
- uses: actions/checkout@v6
17
17
-
18
18
- uses: actions/setup-node@v6
19
19
with:
20
20
-
node-version: 20
21
21
-
20
20
+
node-version: 24
22
21
- run: npm i -g --force corepack@latest && corepack enable
23
23
-
24
22
- name: Install dependencies
25
25
-
run: npx nypm@latest i
26
26
-
23
23
+
run: pnpm install --frozen-lockfile
27
24
- name: Lint
28
28
-
run: npm run lint
25
25
+
run: pnpm lint
29
26
30
27
test:
31
28
runs-on: ubuntu-latest
32
32
-
33
29
steps:
34
30
- uses: actions/checkout@v6
35
35
-
36
31
- uses: actions/setup-node@v6
37
32
with:
38
38
-
node-version: 20
39
39
-
33
33
+
node-version: 24
40
34
- run: npm i -g --force corepack@latest && corepack enable
41
41
-
42
35
- name: Install dependencies
43
43
-
run: npx nypm@latest i
36
36
+
run: pnpm install --frozen-lockfile
44
37
45
45
-
- name: Playground prepare
46
46
-
run: npm run dev:prepare
38
38
+
# nuxt-cos's tests import the built vite plugin and need the Nuxt stub.
39
39
+
- name: Build packages
40
40
+
run: pnpm build
41
41
+
- name: Prepare nuxt-cos
42
42
+
run: pnpm --filter nuxt-cos dev:prepare
47
43
48
48
-
- name: Install Playwright browsers
49
49
-
run: npx playwright-core install --with-deps chromium
44
44
+
- name: Install Playwright browser
45
45
+
run: pnpm --filter vite-plugin-cross-origin-storage exec playwright-core install --with-deps chromium
50
46
51
47
- name: Test
52
48
# xvfb provides a display so the COS extension can run in a headed
53
49
# Chrome for Testing instance; extensions do not load headless.
54
54
-
run: xvfb-run --auto-servernum npm run test
50
50
+
run: xvfb-run --auto-servernum pnpm test
51
51
+
52
52
+
test-types:
53
53
+
runs-on: ubuntu-latest
54
54
+
steps:
55
55
+
- uses: actions/checkout@v6
56
56
+
- uses: actions/setup-node@v6
57
57
+
with:
58
58
+
node-version: 24
59
59
+
- run: npm i -g --force corepack@latest && corepack enable
60
60
+
- name: Install dependencies
61
61
+
run: pnpm install --frozen-lockfile
62
62
+
- name: Build packages
63
63
+
run: pnpm build
64
64
+
- name: Prepare nuxt-cos
65
65
+
run: pnpm --filter nuxt-cos dev:prepare
66
66
+
- name: Type test
67
67
+
run: pnpm test:types