diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7b0d9d6..ba61a79 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,10 @@ on: branches: - main +permissions: + id-token: write # Required for OIDC + contents: read + jobs: test: runs-on: ubuntu-latest @@ -42,8 +46,6 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} release: needs: publish diff --git a/package-lock.json b/package-lock.json index 04723a8..edf6bad 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@breizhhardware/express-prom-bundle", - "version": "8.0.7", + "version": "8.0.8", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@breizhhardware/express-prom-bundle", - "version": "8.0.7", + "version": "8.0.8", "license": "MIT", "dependencies": { "@types/express": "^5.0.0", @@ -286,10 +286,11 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.9.0", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz", - "integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==", + "version": "4.9.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.1.tgz", + "integrity": "sha512-phrYmNiYppR7znFEdqgfWHXR6NCkZEK7hwWDHZUjit/2/U0r6XvkDl0SYnoM51Hq7FhCGdLDT6zxCCOY1hexsQ==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.4.3" }, @@ -4161,9 +4162,9 @@ } }, "node_modules/qs": { - "version": "6.14.1", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.14.1.tgz", - "integrity": "sha512-4EK3+xJl8Ts67nLYNwqw/dsFVnCf+qR7RgXSK9jEEm9unao3njwMDdmsdvoKBKHzxd7tCYz5e5M+SnMjdtXGQQ==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.15.0.tgz", + "integrity": "sha512-mAZTtNCeetKMH+pSjrb76NAM8V9a05I9aBZOHztWy/UqcJdQYNsf59vrRKWnojAT9Y+GbIvoTBC++CPHqpDBhQ==", "dev": true, "license": "BSD-3-Clause", "dependencies": { diff --git a/package.json b/package.json index e2ed8f8..6c6a773 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@breizhhardware/express-prom-bundle", - "version": "8.0.7", + "version": "8.0.8", "description": "express middleware with popular prometheus metrics in one bundle", "main": "src/index.js", "keywords": [