conlink 2.6.2 → 2.6.3
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/.github/workflows/push.yml +11 -5
- package/package.json +1 -1
|
@@ -62,21 +62,27 @@ jobs:
|
|
|
62
62
|
needs: [ check-release ]
|
|
63
63
|
name: Release NPM
|
|
64
64
|
runs-on: ubuntu-latest
|
|
65
|
+
permissions:
|
|
66
|
+
id-token: write
|
|
67
|
+
contents: read
|
|
65
68
|
steps:
|
|
66
69
|
- name: Checkout Repository
|
|
67
70
|
uses: actions/checkout@v4
|
|
68
71
|
with: { submodules: 'recursive', fetch-depth: 0 }
|
|
69
72
|
|
|
70
|
-
|
|
71
|
-
|
|
73
|
+
- name: Setup Node
|
|
74
|
+
uses: actions/setup-node@v4
|
|
72
75
|
with:
|
|
73
76
|
node-version: '20.x'
|
|
74
77
|
registry-url: 'https://registry.npmjs.org'
|
|
75
|
-
|
|
78
|
+
|
|
79
|
+
- name: Upgrade npm to support OIDC
|
|
80
|
+
run: |
|
|
81
|
+
npm install -g npm@11.12.0
|
|
82
|
+
node --version
|
|
83
|
+
npm --version
|
|
76
84
|
|
|
77
85
|
- run: npm publish
|
|
78
|
-
env:
|
|
79
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
80
86
|
|
|
81
87
|
release-docker-hub:
|
|
82
88
|
needs: [ check-release ]
|