diff --git a/.github/workflows/npm-release.yml b/.github/workflows/npm-release.yml new file mode 100644 index 00000000..ba2ea448 --- /dev/null +++ b/.github/workflows/npm-release.yml @@ -0,0 +1,15 @@ +name: NPM release + +on: + workflow_dispatch: + +jobs: + npm-release: + uses: mapbox/gha-public/.github/workflows/workflow-npm-oidc-publish.yml@main + permissions: + id-token: write + contents: write + with: + create-github-release: true + environment: npm-release + run-tests: false diff --git a/package.json b/package.json index 8fa9d3f4..9f2a2b03 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@mapbox/node-pre-gyp", "description": "Node.js native addon binary install tool", - "version": "2.0.4-pre.0", + "version": "2.0.4-pre.1", "keywords": [ "native", "addon", @@ -65,5 +65,8 @@ }, "overrides": { "js-yaml": "^3.14.2" + }, + "publishConfig": { + "access": "public" } }