orc-me 1.2.1 → 1.2.2
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/npmpublish.yml +12 -7
- package/index.js +1 -1
- package/package.json +2 -2
|
@@ -13,14 +13,15 @@ jobs:
|
|
|
13
13
|
build:
|
|
14
14
|
runs-on: ubuntu-latest
|
|
15
15
|
|
|
16
|
-
# Skip Dependabot
|
|
16
|
+
# Skip Dependabot PRs for CI/CD
|
|
17
17
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
18
18
|
|
|
19
19
|
steps:
|
|
20
20
|
- uses: actions/checkout@v4
|
|
21
|
-
- uses: actions/setup-node@
|
|
21
|
+
- uses: actions/setup-node@v4
|
|
22
22
|
with:
|
|
23
23
|
node-version: lts/*
|
|
24
|
+
|
|
24
25
|
- run: npm install
|
|
25
26
|
- run: npm test
|
|
26
27
|
|
|
@@ -28,16 +29,20 @@ jobs:
|
|
|
28
29
|
needs: build
|
|
29
30
|
runs-on: ubuntu-latest
|
|
30
31
|
|
|
31
|
-
# Skip Dependabot
|
|
32
|
+
# Skip Dependabot PRs
|
|
32
33
|
if: ${{ github.actor != 'dependabot[bot]' }}
|
|
33
34
|
|
|
35
|
+
# Required for OIDC Trusted Publishing
|
|
36
|
+
permissions:
|
|
37
|
+
contents: read
|
|
38
|
+
id-token: write # 👈 REQUIRED for Trusted Publishing
|
|
39
|
+
|
|
34
40
|
steps:
|
|
35
41
|
- uses: actions/checkout@v4
|
|
36
|
-
- uses: actions/setup-node@
|
|
42
|
+
- uses: actions/setup-node@v4
|
|
37
43
|
with:
|
|
38
44
|
node-version: lts/*
|
|
39
45
|
registry-url: https://registry.npmjs.org/
|
|
46
|
+
|
|
40
47
|
- run: npm install
|
|
41
|
-
- run: npm publish
|
|
42
|
-
env:
|
|
43
|
-
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
|
|
48
|
+
- run: npm publish
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "orc-me",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.2",
|
|
4
4
|
"description": "Generate a random orc name",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
"author": "tuty",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"jest": "^
|
|
24
|
+
"jest": "^30.2.0"
|
|
25
25
|
}
|
|
26
26
|
}
|