jina-oidc-learning-pkg 0.0.1 → 0.0.2
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.
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
name: Publish to npm
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
push:
|
|
5
|
+
branches: [main]
|
|
6
|
+
|
|
7
|
+
permissions:
|
|
8
|
+
id-token: write
|
|
9
|
+
contents: read
|
|
10
|
+
|
|
11
|
+
jobs:
|
|
12
|
+
publish:
|
|
13
|
+
runs-on: ubuntu-latest
|
|
14
|
+
steps:
|
|
15
|
+
- uses: actions/checkout@v4
|
|
16
|
+
|
|
17
|
+
- uses: actions/setup-node@v4
|
|
18
|
+
with:
|
|
19
|
+
node-version: '22'
|
|
20
|
+
registry-url: 'https://registry.npmjs.org'
|
|
21
|
+
|
|
22
|
+
- name: Check versions (before)
|
|
23
|
+
run: |
|
|
24
|
+
echo "=== Before npm update ==="
|
|
25
|
+
node --version
|
|
26
|
+
npm --version
|
|
27
|
+
|
|
28
|
+
- name: Update npm to latest
|
|
29
|
+
run: npm install -g npm@latest
|
|
30
|
+
|
|
31
|
+
- name: Check versions (after)
|
|
32
|
+
run: |
|
|
33
|
+
echo "=== After npm update ==="
|
|
34
|
+
node --version
|
|
35
|
+
npm --version
|
|
36
|
+
|
|
37
|
+
- name: Publish
|
|
38
|
+
run: npm publish --provenance --access public
|
package/package.json
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jina-oidc-learning-pkg",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"description": "Test package for learning npm OIDC publishing",
|
|
6
|
+
"repository": {
|
|
7
|
+
"type": "git",
|
|
8
|
+
"url": "https://github.com/pja9362/jina-oidc-learning-pkg"
|
|
9
|
+
},
|
|
6
10
|
"keywords": [],
|
|
7
11
|
"author": "",
|
|
8
12
|
"license": "ISC"
|