From b0c2bf6e56b24a8ce404ffee4ea4939d99966061 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Iv=C3=A1n=20Vieitez=20Parra?= <3857362+corrideat@users.noreply.github.com> Date: Fri, 6 Oct 2023 03:38:12 +0200 Subject: [PATCH] Provenance information --- .github/workflows/npm-publish.yml | 5 ++++- package.json | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) 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",