From 76fcd57e2cddcc7ac048bd0bbbb26ede60b85555 Mon Sep 17 00:00:00 2001 From: JamesIves Date: Tue, 31 Mar 2020 10:31:45 -0400 Subject: [PATCH] Update publish.yml --- .github/workflows/publish.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 4dd9a4c1..7cfccefa 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -7,6 +7,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - name: Configure git + run: | + git config user.email "iam@jamesiv.es" + git config user.name "James Ives" # Setup .npmrc file to publish to npm - uses: actions/setup-node@v1 with: @@ -14,7 +18,7 @@ jobs: registry-url: 'https://registry.npmjs.org' - run: npm install - run: npm run-script build - - run: npm cli + - run: npm ci # Publish to npm - run: npm publish --access public env: