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}}