@coffeeonetest/core 1.0.3 → 1.0.5
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/publish.yaml +17 -17
- package/package.json +1 -1
|
@@ -2,29 +2,29 @@ name: Publish
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches:
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- 'v*'
|
|
9
|
+
|
|
10
|
+
permissions:
|
|
11
|
+
id-token: write
|
|
12
|
+
contents: read
|
|
6
13
|
|
|
7
14
|
jobs:
|
|
8
15
|
publish:
|
|
16
|
+
name: Publish Job
|
|
9
17
|
runs-on: ubuntu-latest
|
|
10
18
|
|
|
11
|
-
permissions:
|
|
12
|
-
contents: read
|
|
13
|
-
id-token: write # обязательно для OIDC
|
|
14
|
-
|
|
15
19
|
steps:
|
|
16
|
-
-
|
|
20
|
+
- name: Checkout repository
|
|
21
|
+
uses: actions/checkout@v3
|
|
17
22
|
|
|
18
|
-
-
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
19
25
|
with:
|
|
20
|
-
node-version:
|
|
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
|
|
26
|
+
"node-version": 24
|
|
27
|
+
registry-url: "https://registry.npmjs.org"
|
|
27
28
|
|
|
28
|
-
- name: Publish
|
|
29
|
-
run: npm publish
|
|
30
|
-
env: { } # очищаем все переменные окружения для этого шага
|
|
29
|
+
- name: Publish pack
|
|
30
|
+
run: npm publish
|