diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index d3c7bcf..0000c16 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -23,7 +23,13 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 - run: | + yarn dist:node_modules + yarn build yarn publish --access public env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} @@ -32,7 +38,13 @@ jobs: needs: build runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: 12 - run: | + yarn dist:node_modules + yarn build yarn publish --access public env: NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}