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.
@@ -13,14 +13,15 @@ jobs:
13
13
  build:
14
14
  runs-on: ubuntu-latest
15
15
 
16
- # Skip Dependabot pull requests that fixes packages and vulnerabilities to trigger our CI/CD
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@v3
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 pull requests that fixes packages and vulnerabilities to trigger our CI/CD
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@v3
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
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * orchish - 👹 Generate a random orc name
3
- * @version: v1.2.1
3
+ * @version: v1.2.2
4
4
  * @link: https://github.com/tutyamxx/orc-me
5
5
  * @license: MIT
6
6
  **/
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "orc-me",
3
- "version": "1.2.1",
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": "^29.7.0"
24
+ "jest": "^30.2.0"
25
25
  }
26
26
  }