Compare commits

9 Commits
Author SHA1 Message Date
Ilia Mashkov ba7aa0664a fix: default NODE_AUTH_TOKEN to empty so install works without it
CI / publish (push) Successful in 18s
CI / e2e (push) Successful in 25s
CI / verify (push) Successful in 26s
2026-07-02 10:23:22 +03:00
Ilia Mashkov 37174179bd ci: add logs
CI / verify (push) Failing after 10s
CI / e2e (push) Has been skipped
CI / publish (push) Has been skipped
2026-07-02 10:19:44 +03:00
Ilia Mashkov f1ce8ea26e chore: add registry settings
CI / e2e (push) Has been skipped
CI / publish (push) Has been skipped
CI / verify (push) Failing after 10s
2026-07-02 10:08:27 +03:00
ilia 8e879311ec Merge pull request 'Fix/ci token' (#3) from fix/ci-token into main
CI / verify (push) Successful in 27s
CI / e2e (push) Successful in 25s
CI / publish (push) Failing after 18s
Reviewed-on: #3
2026-07-02 06:31:38 +00:00
Ilia Mashkov 2e0bc6d17e fix: change publish command
CI / verify (pull_request) Successful in 31s
CI / e2e (pull_request) Successful in 30s
CI / publish (pull_request) Has been skipped
2026-07-02 09:29:55 +03:00
Ilia Mashkov 5277e9c55c fix: change token name 2026-07-02 09:28:39 +03:00
ilia 6967d722ed Merge pull request 'Chore/release v0.1.0' (#2) from chore/release-v0.1.0 into main
CI / verify (push) Successful in 27s
CI / e2e (push) Successful in 25s
CI / publish (push) Failing after 20s
Reviewed-on: #2
2026-07-01 07:52:21 +00:00
Ilia Mashkov 7920fb73f3 chore: release v0.1.0
CI / verify (pull_request) Successful in 30s
CI / e2e (pull_request) Successful in 29s
CI / publish (pull_request) Has been skipped
2026-07-01 10:42:01 +03:00
Ilia Mashkov 611a13f088 chore: release v0.1.0 2026-07-01 09:38:51 +03:00
5 changed files with 35 additions and 3 deletions
+17 -2
View File
@@ -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
+1
View File
@@ -13,3 +13,4 @@ logs_llm/
*.md *.md
!README.md !README.md
!CHANGELOG.md
+6
View File
@@ -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:-}"
+10
View File
@@ -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`.
+1 -1
View File
@@ -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"