Compare commits
11
Commits
4424934962
...
v0.1.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ba7aa0664a | ||
|
|
37174179bd | ||
|
|
f1ce8ea26e | ||
|
|
8e879311ec | ||
|
|
2e0bc6d17e | ||
|
|
5277e9c55c | ||
|
|
6967d722ed | ||
|
|
7920fb73f3 | ||
|
|
611a13f088 | ||
|
|
a784271aa8 | ||
|
|
6b79e1120b |
+18
-3
@@ -39,7 +39,7 @@ jobs:
|
|||||||
needs: verify
|
needs: verify
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
container:
|
container:
|
||||||
image: mcr.microsoft.com/playwright:v1.59.0-jammy
|
image: mcr.microsoft.com/playwright:v1.61.1-jammy
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- name: Enable Corepack
|
- name: Enable Corepack
|
||||||
@@ -58,6 +58,7 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
run: yarn test:e2e
|
run: yarn test:e2e
|
||||||
|
|
||||||
|
|
||||||
publish:
|
publish:
|
||||||
needs: [verify, e2e]
|
needs: [verify, e2e]
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -66,19 +67,33 @@ jobs:
|
|||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: actions/setup-node@v4
|
- uses: actions/setup-node@v4
|
||||||
with: { node-version: '25' }
|
with: { node-version: '25' }
|
||||||
|
|
||||||
|
- name: Check token is present
|
||||||
|
env:
|
||||||
|
NODE_AUTH_TOKEN: ${{ secrets.CAROUSEL_PACKAGE }}
|
||||||
|
run: |
|
||||||
|
if [ -z "$NODE_AUTH_TOKEN" ]; then
|
||||||
|
echo "NODE_AUTH_TOKEN is EMPTY — secret not injected"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
echo "NODE_AUTH_TOKEN length: ${#NODE_AUTH_TOKEN}"
|
||||||
|
|
||||||
- name: Enable Corepack
|
- name: Enable Corepack
|
||||||
run: |
|
run: |
|
||||||
corepack enable
|
corepack enable
|
||||||
corepack prepare yarn@4.11.0 --activate
|
corepack prepare yarn@4.11.0 --activate
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
|
|
||||||
- name: Assert tag matches package.json version
|
- name: Assert tag matches package.json version
|
||||||
run: |
|
run: |
|
||||||
TAG="${GITHUB_REF_NAME#v}"
|
TAG="${GITHUB_REF_NAME#v}"
|
||||||
PKG="$(node -p "require('./package.json').version")"
|
PKG="$(node -p "require('./package.json').version")"
|
||||||
test "$TAG" = "$PKG" || { echo "tag v$TAG != package.json $PKG"; exit 1; }
|
test "$TAG" = "$PKG" || { echo "tag v$TAG != package.json $PKG"; exit 1; }
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
run: yarn build
|
run: yarn build
|
||||||
|
|
||||||
- name: Publish to Gitea registry
|
- name: Publish to Gitea registry
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.CI_DEPLOY_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.CAROUSEL_PACKAGE }}
|
||||||
run: npm publish
|
run: yarn npm publish
|
||||||
|
|||||||
@@ -13,3 +13,4 @@ logs_llm/
|
|||||||
|
|
||||||
*.md
|
*.md
|
||||||
!README.md
|
!README.md
|
||||||
|
!CHANGELOG.md
|
||||||
|
|||||||
@@ -1 +1,7 @@
|
|||||||
nodeLinker: node-modules
|
nodeLinker: node-modules
|
||||||
|
|
||||||
|
npmScopes:
|
||||||
|
ilia:
|
||||||
|
npmPublishRegistry: "https://git.allmy.work/api/packages/ilia/npm/"
|
||||||
|
npmAlwaysAuth: true
|
||||||
|
npmAuthToken: "${NODE_AUTH_TOKEN:-}"
|
||||||
@@ -0,0 +1,10 @@
|
|||||||
|
# Changelog
|
||||||
|
|
||||||
|
Entries are derived from [Conventional Commits](https://www.conventionalcommits.org)
|
||||||
|
at each `v*` release tag.
|
||||||
|
|
||||||
|
## [Unreleased]
|
||||||
|
|
||||||
|
## [0.1.0] - 2026-07-01
|
||||||
|
|
||||||
|
- Initial core (`createCarousel`), `dots()` fallback, `autoplay()`, and `carousel.css`.
|
||||||
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@ilia/carousel",
|
"name": "@ilia/carousel",
|
||||||
"version": "0.0.0",
|
"version": "0.1.0",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"sideEffects": [
|
"sideEffects": [
|
||||||
"*.css"
|
"*.css"
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@biomejs/biome": "^2",
|
"@biomejs/biome": "^2",
|
||||||
"@playwright/test": "^1",
|
"@playwright/test": "1.61.1",
|
||||||
"@size-limit/preset-small-lib": "^11",
|
"@size-limit/preset-small-lib": "^11",
|
||||||
"@vitest/coverage-v8": "^2",
|
"@vitest/coverage-v8": "^2",
|
||||||
"jsdom": "^25",
|
"jsdom": "^25",
|
||||||
|
|||||||
@@ -737,7 +737,7 @@ __metadata:
|
|||||||
resolution: "@ilia/carousel@workspace:."
|
resolution: "@ilia/carousel@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@biomejs/biome": "npm:^2"
|
"@biomejs/biome": "npm:^2"
|
||||||
"@playwright/test": "npm:^1"
|
"@playwright/test": "npm:1.61.1"
|
||||||
"@size-limit/preset-small-lib": "npm:^11"
|
"@size-limit/preset-small-lib": "npm:^11"
|
||||||
"@vitest/coverage-v8": "npm:^2"
|
"@vitest/coverage-v8": "npm:^2"
|
||||||
jsdom: "npm:^25"
|
jsdom: "npm:^25"
|
||||||
@@ -820,7 +820,7 @@ __metadata:
|
|||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
"@playwright/test@npm:^1":
|
"@playwright/test@npm:1.61.1":
|
||||||
version: 1.61.1
|
version: 1.61.1
|
||||||
resolution: "@playwright/test@npm:1.61.1"
|
resolution: "@playwright/test@npm:1.61.1"
|
||||||
dependencies:
|
dependencies:
|
||||||
|
|||||||
Reference in New Issue
Block a user