diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 81e6697..778fe23 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -10,6 +10,9 @@ on: jobs: publish-npm: runs-on: ubuntu-latest + permissions: + contents: read + id-token: write steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 @@ -17,6 +20,6 @@ jobs: node-version: 18 registry-url: https://registry.npmjs.org/ - run: npm ci - - run: npm publish + - run: npm publish --provenance --access public env: NODE_AUTH_TOKEN: ${{secrets.npm_token}} diff --git a/package.json b/package.json index 842b8b5..2af8289 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@exact-realty/esbuild-plugin-responsive-images", - "version": "1.0.9", + "version": "1.0.10", "description": "esbuild plugin for responsive images using Sharp", "main": "dist/index.js", "module": "./dist/index.mjs",