From 75c1900105cde04cc6b36949148273554b7edd1f Mon Sep 17 00:00:00 2001 From: Brian Anstett Date: Tue, 5 Sep 2023 14:11:04 -0400 Subject: [PATCH] feat: initial release --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c06b1e..aa96dfa 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,6 +3,9 @@ on: push: branches: - master +permissions: + id-token: write + contents: read jobs: release: name: Release @@ -22,6 +25,8 @@ jobs: npm install npm i --no-save @vercel/ncc semantic-release @semantic-release/changelog @semantic-release/git @semantic-release/exec conventional-changelog-conventionalcommits - name: Release + env: + GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_PAT }} run: | npx ncc build index.js npx semantic-release \ No newline at end of file