diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5cbcdf0..4adf36b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -51,21 +51,3 @@ jobs: env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} if: ${{ steps.release.outputs.release_created }} - - # push to bit.dev if release-please created a release - - run: npm install --global bit-bin - if: ${{ steps.release.outputs.release_created }} - - name: bit.dev configuration - run: | - bit config set analytics_reporting false - bit config set anonymous_reporting false - bit config set user.token ${{secrets.BIT_TOKEN}} - if: ${{ steps.release.outputs.release_created }} - - name: publish to bit.dev - run: | - bit init - bit import bit.envs/compilers/typescript --compiler - bit add --id ace-custom-element -m src/AceEditor.ts src/* package.json - bit tag --all `node scripts/version.js` - bit export socsieng.ace-custom-element - if: ${{ steps.release.outputs.release_created }} diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 94f41a3..7df5271 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -18,30 +18,3 @@ jobs: - run: npm publish env: NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - - publish-bit: - name: publish to bit.dev - runs-on: ubuntu-latest - env: - BIT_TOKEN: ${{secrets.BIT_TOKEN}} - steps: - - uses: actions/checkout@v2 - - name: configure github package repository - uses: actions/setup-node@v1 - with: - node-version: '12.x' - - run: npm install - - run: npm run build - - run: npm install --global bit-bin - - name: bit.dev configuration - run: | - bit config set analytics_reporting false - bit config set anonymous_reporting false - bit config set user.token $BIT_TOKEN - - name: publish to bit.dev - run: | - bit init - bit import bit.envs/compilers/typescript --compiler - bit add --id ace-custom-element -m src/AceEditor.ts src/* package.json - bit tag --all `node scripts/version.js` - bit export socsieng.ace-custom-element