@coffeeonetest/core 1.0.1 → 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.
@@ -2,19 +2,28 @@ name: Publish
2
2
 
3
3
  on:
4
4
  push:
5
- branches:
6
- - main
5
+ branches: [main]
6
+
7
+
8
+ permissions:
9
+ id-token: write
10
+ contents: read
7
11
 
8
12
  jobs:
9
13
  publish:
10
14
  runs-on: ubuntu-latest
15
+
11
16
  steps:
12
17
  - uses: actions/checkout@v4
18
+
13
19
  - uses: actions/setup-node@v4
14
20
  with:
15
- node-version: 20
16
- registry-url: "https://registry.npmjs.org/"
17
- - run: npm publish
18
- env:
19
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
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
20
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.1",
3
+ "version": "1.0.4",
4
4
  "description": "Core utils and shared setup",
5
5
  "type": "commonjs",
6
6
  "publishConfig": {
package/readme.md ADDED
@@ -0,0 +1 @@
1
+ coffeeonetest