kempo-media 0.2.3 → 0.2.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.
@@ -33,7 +33,8 @@ jobs:
33
33
 
34
34
  - uses: actions/setup-node@v4
35
35
  with:
36
- node-version: '20.x'
36
+ node-version: '22.x'
37
+ registry-url: 'https://registry.npmjs.org'
37
38
 
38
39
  - run: npm ci
39
40
 
@@ -72,14 +73,11 @@ jobs:
72
73
  env:
73
74
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
74
75
 
75
- - name: Setup .npmrc for OIDC
76
- run: |
77
- cat << EOF > ~/.npmrc
78
- //registry.npmjs.org/:_authToken=\${NPM_TOKEN}
79
- registry=https://registry.npmjs.org/
80
- always-auth=true
81
- EOF
76
+ # Trusted publishing needs npm >=11.5.1; Node 22.x still bundles 10.9.x. Without this, OIDC
77
+ # publish auth is silently unavailable and the registry returns a 404 rather than an auth error.
78
+ # Upgraded only now, not before npm ci: a newer npm skips dependency install scripts, which is
79
+ # how puppeteer downloads the Chrome the browser tests need, so the install and the tests run
80
+ # on the npm that Node ships, exactly as test.yml does.
81
+ - run: npm install -g npm@latest
82
82
 
83
83
  - run: npm publish --access public
84
- env:
85
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kempo-media",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Media library extension for kempo — upload and manage images, video, audio, 3D models, and archives",
5
5
  "license": "MIT",
6
6
  "author": "Dustin Poissant",