From abdc739a8ca9887aff916560ff2c570ca94b1d60 Mon Sep 17 00:00:00 2001 From: Brian Lewis Date: Mon, 20 Dec 2021 05:44:27 -0600 Subject: [PATCH] build: added npm_token --- .github/workflows/release.yml | 3 +++ package.json | 2 +- release.config.js | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a53e996b..598eb52a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -17,4 +17,7 @@ jobs: - name: Install run: npm install - name: Release + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: npm run semantic-release diff --git a/package.json b/package.json index 46e82bc2..58b4ebb4 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "visreg": "percy storybook http://localhost:6006", "visreg-ci": "percy storybook .out", "webpack": "webpack --watch --config ./webpack/webpack.dev.js", - "semantic-release": "semantic-release --tag-format '${version}'" + "semantic-release": "semantic-release" }, "repository": { "type": "git", diff --git a/release.config.js b/release.config.js index 2e5d250b..a0471896 100644 --- a/release.config.js +++ b/release.config.js @@ -1,4 +1,5 @@ module.exports = { + tagFormat: '${version}', branches: ['main'], repositoryUrl: 'git@github.com:emulsify-ds/compound.git', plugins: [