From 76993f5de698eb27afee838a237a98777317ab3d Mon Sep 17 00:00:00 2001 From: cvermand <33010418+bidoubiwa@users.noreply.github.com> Date: Wed, 29 Apr 2020 15:13:54 +0200 Subject: [PATCH] Fix: publish bug (#330) --- .github/workflows/publish.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 20fb3d9bb..00df04694 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -9,6 +9,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 + registry-url: https://registry.npmjs.org/ - name: Install dependencies run: yarn install - name: Build @@ -18,5 +22,4 @@ jobs: - name: Publish run: npm publish . env: - NPM_REGISTRY_URL: https://registry.npmjs.org NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}