From 8e6ef15438c463a7a555b92dadb942dd2d328609 Mon Sep 17 00:00:00 2001 From: Mat Zaremba Date: Fri, 20 Jan 2023 15:38:11 +0000 Subject: [PATCH] ci: release workflow - add env tokens (#36) --- .github/workflows/release.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 63c3655..8032857 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,10 +14,13 @@ jobs: - name: Use Node.js 18.13.0 uses: actions/setup-node@v3 with: - node-version: '18.13.0' - + node-version: "18.13.0" + - name: Install Dependencies run: npm ci - + - name: Release run: npx semantic-release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }}