From c97ce640c9c12245d2d9087635b297add7bca290 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 11 Jun 2024 14:59:50 +0200 Subject: [PATCH 1/2] install protoc in the CI --- .github/workflows/npm-publisher.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/npm-publisher.yml b/.github/workflows/npm-publisher.yml index 375c9cd65..555033fbf 100644 --- a/.github/workflows/npm-publisher.yml +++ b/.github/workflows/npm-publisher.yml @@ -40,6 +40,9 @@ jobs: node-version: '20.x' registry-url: 'https://registry.npmjs.org' + - name: Install Protoc + uses: arduino/setup-protoc@v3 + - name: Update package version run: | cd ./${{ inputs.project_name }}/types From 92a79f09900a17b22c009f4fed258c3cae2455e3 Mon Sep 17 00:00:00 2001 From: tom Date: Tue, 11 Jun 2024 16:14:08 +0200 Subject: [PATCH 2/2] add permision to job --- .github/workflows/npm-publisher.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/npm-publisher.yml b/.github/workflows/npm-publisher.yml index 555033fbf..f68ca33f6 100644 --- a/.github/workflows/npm-publisher.yml +++ b/.github/workflows/npm-publisher.yml @@ -28,6 +28,8 @@ jobs: publish: runs-on: ubuntu-latest name: Publish package to NPM registry + permissions: + id-token: write steps: - name: Checkout repo