@coffeeonetest/core 1.0.3 → 1.0.4

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.
@@ -4,27 +4,26 @@ on:
4
4
  push:
5
5
  branches: [main]
6
6
 
7
+
8
+ permissions:
9
+ id-token: write
10
+ contents: read
11
+
7
12
  jobs:
8
13
  publish:
9
14
  runs-on: ubuntu-latest
10
15
 
11
- permissions:
12
- contents: read
13
- id-token: write # обязательно для OIDC
14
-
15
16
  steps:
16
- - uses: actions/checkout@v3
17
+ - uses: actions/checkout@v4
17
18
 
18
- - uses: actions/setup-node@v3
19
+ - uses: actions/setup-node@v4
19
20
  with:
20
- node-version: 20
21
- registry-url: https://registry.npmjs.org/
22
- # auth-token больше не нужен, OIDC будет использоваться автоматически
23
- - name: Cleanup npm auth
24
- run: |
25
- unset NODE_AUTH_TOKEN
26
- unset NPM_CONFIG_USERCONFIG
27
-
28
- - name: Publish with OIDC
29
- run: npm publish --provenance
30
- env: { } # очищаем все переменные окружения для этого шага
21
+ node-version: '24' # Node >=24 для нужной npm
22
+ registry-url: 'https://registry.npmjs.org'
23
+
24
+ - name: Update npm
25
+ run: npm install -g npm@latest
26
+
27
+ - run: npm ci
28
+
29
+ - run: npm publish
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffeeonetest/core",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Core utils and shared setup",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {