From d505cda6012104214c6b4ca758179310b7ee4b1a Mon Sep 17 00:00:00 2001 From: David Gamero Date: Fri, 8 Mar 2024 15:25:16 -0500 Subject: [PATCH] release workflow update to tag and add prebuild step to unblock (#113) * Update release-pr.yml * Update release-pr.yml * Update package.json --- .github/workflows/release-pr.yml | 3 ++- package.json | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 0c975420..c7e83d16 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -10,8 +10,9 @@ on: jobs: release: - uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@a705b2ab6a3ee889f2b0d925ad0bd2f9eb733ce6 permissions: + actions: read contents: write + uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@v1 with: changelogPath: ./CHANGELOG.md diff --git a/package.json b/package.json index f51faa51..b7d8a361 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "private": true, "main": "lib/login.js", "scripts": { + "prebuild": "npm i @vercel/ncc", "build": "ncc build src/index.ts -o lib", "test": "jest", "test-coverage": "jest --coverage",