@coffeeonetest/core 1.0.4 → 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 +13 -12
- package/package.json +1 -1
|
@@ -2,8 +2,10 @@ name: Publish
|
|
|
2
2
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
|
-
branches:
|
|
6
|
-
|
|
5
|
+
branches:
|
|
6
|
+
- main
|
|
7
|
+
tags:
|
|
8
|
+
- 'v*'
|
|
7
9
|
|
|
8
10
|
permissions:
|
|
9
11
|
id-token: write
|
|
@@ -11,19 +13,18 @@ permissions:
|
|
|
11
13
|
|
|
12
14
|
jobs:
|
|
13
15
|
publish:
|
|
16
|
+
name: Publish Job
|
|
14
17
|
runs-on: ubuntu-latest
|
|
15
18
|
|
|
16
19
|
steps:
|
|
17
|
-
-
|
|
20
|
+
- name: Checkout repository
|
|
21
|
+
uses: actions/checkout@v3
|
|
18
22
|
|
|
19
|
-
-
|
|
23
|
+
- name: Setup Node.js
|
|
24
|
+
uses: actions/setup-node@v4
|
|
20
25
|
with:
|
|
21
|
-
node-version:
|
|
22
|
-
registry-url:
|
|
23
|
-
|
|
24
|
-
- name: Update npm
|
|
25
|
-
run: npm install -g npm@latest
|
|
26
|
-
|
|
27
|
-
- run: npm ci
|
|
26
|
+
"node-version": 24
|
|
27
|
+
registry-url: "https://registry.npmjs.org"
|
|
28
28
|
|
|
29
|
-
-
|
|
29
|
+
- name: Publish pack
|
|
30
|
+
run: npm publish
|