beanbagdb 0.0.5 → 0.5.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.
@@ -9,18 +9,21 @@ on:
9
9
  jobs:
10
10
  build:
11
11
  runs-on: ubuntu-latest
12
-
12
+ permissions:
13
+ contents: read
14
+ id-token: write
13
15
  steps:
14
16
  # Step 1: Check out the code from the repository
15
17
  - name: Checkout code
16
- uses: actions/checkout@v3
18
+ uses: actions/checkout@v4
17
19
 
18
20
  # Step 2: Set up Node.js environment
19
21
  - name: Setup Node.js
20
- uses: actions/setup-node@v3
22
+ uses: actions/setup-node@v4
21
23
  with:
22
- node-version: '20.17.0' # Specify the Node.js version you want to use
23
- cache: 'npm' # Cache npm modules for faster builds
24
+ node-version: '20.17.0'
25
+ cache: 'npm'
26
+ registry-url: 'https://registry.npmjs.org'
24
27
 
25
28
  # Step 3: Install dependencies
26
29
  - name: Install dependencies
@@ -32,7 +35,7 @@ jobs:
32
35
 
33
36
  # Step 5: Publish to npm if tests pass
34
37
  - name: Publish to npm
35
- run: npm publish
38
+ run: npm publish --access public
36
39
  env:
37
40
  NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
38
41