test-lib20260119 1.0.10 → 1.0.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "test-lib20260119",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"
@@ -1,35 +0,0 @@
1
- name: Publish to npm
2
-
3
- on:
4
- push:
5
- tags:
6
- - "v*"
7
-
8
- permissions:
9
- contents: read
10
- id-token: write
11
-
12
- jobs:
13
- publish:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - name: Checkout
17
- uses: actions/checkout@v4
18
-
19
- - name: Setup Node
20
- uses: actions/setup-node@v4
21
- with:
22
- node-version: "20"
23
- registry-url: "https://registry.npmjs.org"
24
-
25
- - name: Upgrade npm for OIDC support
26
- run: npm i -g npm@11.5.1
27
-
28
- - name: Install dependencies
29
- run: npm ci
30
-
31
- - name: Build (if needed)
32
- run: npm run build --if-present
33
-
34
- - name: Publish
35
- run: npm publish
package/.gitlab-ci.yml DELETED
@@ -1,11 +0,0 @@
1
- stages:
2
- - release
3
-
4
- npm_publish:
5
- stage: release
6
- image: node:20
7
- rules:
8
- - if: $CI_COMMIT_TAG
9
- script:
10
- - echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
11
- - npm publish --registry https://registry.npmjs.org/