3 Commits

Author SHA1 Message Date
Tenere CI 26fb36ca19 release: v0.0.5
CI / publish (push) Has been skipped
CI / test (push) Successful in 7s
2026-07-19 16:21:27 -07:00
Tenere CI 1d508656c1 release: v0.0.3
CI / test (push) Successful in 9s
CI / publish (push) Failing after 6s
2026-07-19 14:10:49 -07:00
Tenere CI 377c937728 ci: add publish job per PACKAGE_GUIDELINES.md 2026-07-19 14:09:21 -07:00
2 changed files with 23 additions and 9 deletions
+22 -8
View File
@@ -10,19 +10,33 @@ on:
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
node: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
node-version: 22
- name: Auth for Gitea npm registry
run: |
echo "@${{ github.repository_owner }}:registry=https://hub.kl1.tenere.ai/api/packages/${{ github.repository_owner }}/npm/" > .npmrc
echo "//hub.kl1.tenere.ai/api/packages/${{ github.repository_owner }}/npm/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc
echo "@push-stream-std:registry=https://hub.kl1.tenere.ai/api/packages/push-stream-std/npm/" > .npmrc
echo "//hub.kl1.tenere.ai/api/packages/push-stream-std/npm/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc
- run: npm install
- run: npm run lint || true
- run: npm test
- run: npm run bench
if: matrix.node == 22
publish:
runs-on: ubuntu-latest
if: startsWith(github.ref, 'refs/tags/v')
needs: test
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Auth for Gitea npm registry
run: |
echo "@push-stream-std:registry=https://hub.kl1.tenere.ai/api/packages/push-stream-std/npm/" > .npmrc
echo "//hub.kl1.tenere.ai/api/packages/push-stream-std/npm/:_authToken=${{ secrets.PACKAGE_TOKEN }}" >> .npmrc
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@push-stream-std/push-take-until",
"version": "0.0.2",
"version": "0.0.5",
"description": "Take elements until signal stream emits",
"type": "module",
"main": "index.js",