@pbvision/cloud-run-service 0.0.45 → 0.0.47

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.
@@ -11,7 +11,7 @@ jobs:
11
11
  - uses: actions/checkout@v4
12
12
  - uses: actions/setup-node@v4
13
13
  with:
14
- node-version: '20.x'
14
+ node-version: '24.x'
15
15
  registry-url: 'https://registry.npmjs.org'
16
16
  - run: yarn install --frozen-lockfile
17
17
  shell: bash
@@ -2,17 +2,23 @@ name: Publish to PUBLIC NPM Package Registry
2
2
  on:
3
3
  push:
4
4
  branches: [main]
5
+ permissions:
6
+ contents: read
7
+ id-token: write
5
8
  jobs:
6
9
  publish:
7
10
  if: github.repository == 'pbv-public/cloud-run-service'
8
11
  runs-on: ubuntu-latest
12
+ permissions:
13
+ contents: read
14
+ id-token: write
9
15
  steps:
10
16
  - uses: actions/checkout@v4
11
17
  with:
12
18
  fetch-depth: 0
13
19
  - uses: actions/setup-node@v4
14
20
  with:
15
- node-version: '20.x'
21
+ node-version: '24.x'
16
22
  registry-url: 'https://registry.npmjs.org'
17
23
  scope: '@pbvision'
18
24
  - name: Publish
@@ -22,7 +28,7 @@ jobs:
22
28
  echo from ${before} to ${after}
23
29
  zero='0000000000000000000000000000000000000000'
24
30
  if [ "$before" = "$zero" ]; then
25
- changed=1 # first push to this branch — always publish
31
+ changed=1
26
32
  else
27
33
  git diff ${before} ${after} -- package.json | fgrep '"version": "' && changed=1 || changed=0
28
34
  fi
@@ -38,5 +44,3 @@ jobs:
38
44
  echo 'version was not changed; nothing to publish'
39
45
  fi
40
46
  shell: bash
41
- env:
42
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
package/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM node:20-slim
1
+ FROM node:24-slim
2
2
 
3
3
  WORKDIR /app
4
4
 
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@pbvision/cloud-run-service",
3
- "version": "0.0.45",
3
+ "version": "0.0.47",
4
4
  "description": "fastify-firestore-service Web Framework on Cloud Run",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "engines": {
8
- "node": ">=20"
8
+ "node": ">=24"
9
9
  },
10
10
  "exports": "./src/index.js",
11
11
  "scripts": {
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@google-cloud/tasks": "^4.0.1",
31
- "@pbvision/fastify-firestore-service": "^0.0.50",
31
+ "@pbvision/fastify-firestore-service": "^0.0.51",
32
32
  "google-auth-library": "^9.4.2",
33
33
  "ua-parser-js": "^1.0.37"
34
34
  },
@@ -45,7 +45,7 @@
45
45
  "eslint-plugin-n": "^16.6.2",
46
46
  "eslint-plugin-node": "^11.1.0",
47
47
  "eslint-plugin-promise": "^6.0.0",
48
- "firebase-tools": "^13.5.2",
48
+ "firebase-tools": "^14.26.0",
49
49
  "jest": "^29.7.0",
50
50
  "nodemon": "^3.1.0",
51
51
  "standard": "^17.1.0",