From 82c51a319c3ca5ecd4ccb4256166627bf47c4e43 Mon Sep 17 00:00:00 2001 From: Kevin Brown Date: Wed, 11 Sep 2019 20:57:40 -0400 Subject: [PATCH] Remove dry run from publish --- .github/workflows/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 60eaa1aa..ce0d2c06 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -60,14 +60,14 @@ jobs: run: grunt - name: Deploy (release) if: github.event_name == 'release' - run: npm publish --dry-run + run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} - name: Deploy (release candidate) if: github.event_name == 'push' run: | npm --no-git-tag-version version prerelease - npm publish --tag next --dry-run + npm publish --tag next env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} deploy_npm: @@ -87,7 +87,7 @@ jobs: - name: Run linting, tests, minify run: grunt - name: Deploy - if: github.event_name == 'push' - run: npm publish --dry-run + if: github.event_name == 'release' + run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}