fs-object-storage 1.0.1 → 1.0.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.
@@ -29,13 +29,16 @@ jobs:
29
29
  publish-npm:
30
30
  needs: build
31
31
  runs-on: ubuntu-latest
32
+ permissions:
33
+ id-token: write # OIDC認証に必須
34
+ contents: read
32
35
  steps:
33
36
  - uses: actions/checkout@v4
34
37
  - uses: actions/setup-node@v4
35
38
  with:
36
- node-version: '16.x'
39
+ node-version: '20.x'
37
40
  registry-url: https://registry.npmjs.org/
41
+ - run: npm install -g npm@latest
38
42
  - run: npm ci
39
- - run: npm publish
40
- env:
41
- NODE_AUTH_TOKEN: ${{secrets.npm_token}}
43
+ - name: Publish to NPM with Trusted Publishing
44
+ run: npm publish --access public
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fs-object-storage",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Node.js fs compatible API for object storage (MinIO/S3)",
5
5
  "main": "src/index.js",
6
6
  "types": "src/index.d.ts",