message: fix: ci upload artifacts
diff: @@ -83,13 +83,11 @@ jobs:
  uses: actions/upload-artifact@v2
  with:
  name: bindings-${{matrix.node}}
  - path: |
  - packages/**/cjs
  - packages/**/esm
  + path: packages
  publish:
  name: Publish
  - # if: "startsWith(github.event.head_commit.message, 'chore(release): publish')"
  + if: "startsWith(github.event.head_commit.message, 'chore(release): publish')"
  runs-on: ubuntu-latest
  needs:
  - lint
  @@ -114,17 +112,15 @@ jobs:
  uses: actions/download-artifact@v2
  with:
  name: bindings-13
  - path: |
  - packages/**/cjs
  - packages/**/esm
  + path: packages
  - name: List packages
  run: ls -R packages
  shell: bash
  - # - name: Lerna publish
  - # run: |
  - # find ./packages/ -type d -maxdepth 1 -exec cp LICENSE {} \;
  - # echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
  - # npx lerna publish from-package --no-verify-access --yes
  + - name: Lerna publish
  + run: |
  + find ./packages/ -type d -maxdepth 1 -exec cp LICENSE {} \;
  + echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> ~/.npmrc
  + npx lerna publish from-package --no-verify-access --yes
  env:
  NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
  \ No newline at end of file
  