user-agents 1.1.668 → 1.1.671
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/.circleci/config.yml +10 -5
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/user-agents.json.gz +0 -0
package/.circleci/config.yml
CHANGED
|
@@ -73,21 +73,26 @@ jobs:
|
|
|
73
73
|
|
|
74
74
|
deploy:
|
|
75
75
|
<<: *defaults
|
|
76
|
+
docker:
|
|
77
|
+
- image: cimg/node:22.22
|
|
76
78
|
steps:
|
|
77
79
|
- attach_workspace:
|
|
78
80
|
at: ~/user-agents
|
|
79
81
|
- run:
|
|
80
|
-
name:
|
|
81
|
-
command:
|
|
82
|
+
name: Upgrade npm for OIDC trusted publishing support
|
|
83
|
+
command: sudo npm install -g npm@11.11.1
|
|
82
84
|
- run:
|
|
83
85
|
name: Install dot-json package
|
|
84
|
-
command: npm install --no-save dot-json
|
|
86
|
+
command: npm install --no-save --legacy-peer-deps dot-json
|
|
85
87
|
- run:
|
|
86
88
|
name: Write version to package.json
|
|
87
89
|
command: $(yarn bin)/dot-json package.json version ${CIRCLE_TAG:1}
|
|
88
90
|
- run:
|
|
89
91
|
name: Publish to NPM
|
|
90
|
-
command:
|
|
92
|
+
command: |
|
|
93
|
+
# Use OIDC trusted publishing instead of a static NPM token.
|
|
94
|
+
export NPM_ID_TOKEN=$(circleci run oidc get --claims '{"aud": "npm:registry.npmjs.org"}')
|
|
95
|
+
npm publish --access=public
|
|
91
96
|
|
|
92
97
|
update:
|
|
93
98
|
<<: *defaults
|
|
@@ -189,7 +194,7 @@ workflows:
|
|
|
189
194
|
scheduled-release:
|
|
190
195
|
triggers:
|
|
191
196
|
- schedule:
|
|
192
|
-
cron: "
|
|
197
|
+
cron: "36 13 * * *"
|
|
193
198
|
filters:
|
|
194
199
|
branches:
|
|
195
200
|
only:
|