From 4d8beb629cfbed0f5f51154ef1975224e2479615 Mon Sep 17 00:00:00 2001 From: Andrew McCloud Date: Tue, 11 Feb 2020 15:04:36 -0800 Subject: [PATCH] Setup github build just like now --- .github/workflows/npmpublish.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index 4c41407..07b7cc0 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -14,9 +14,9 @@ jobs: with: node-version: 12 registry-url: https://registry.npmjs.org/ - - run: yarn install --production=false - - run: yarn test - - run: yarn build + - run: yarn install + - run: NODE_ENV=production yarn build - run: npm publish env: + NODE_ENV: development NODE_AUTH_TOKEN: ${{secrets.npm_token}}