diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 1a20d56..e9cdfd6 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,6 +3,9 @@ on: push: branches: - master # Change this to your default branch +permissions: + id-token: write + contents: write jobs: npm-publish: name: npm-publish @@ -14,6 +17,7 @@ jobs: uses: actions/setup-node@master with: node-version: 10.0.0 + registry-url: 'https://registry.npmjs.org' - name: Publish if version has been updated uses: pascalgn/npm-publish-action@4f4bf159e299f65d21cd1cbd96fc5d53228036df with: # All of theses inputs are optional