Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix: revert changes for bit.dev
I give up
  • Loading branch information
Soc Sieng committed Sep 26, 2020
1 parent a0e1991 commit 669ff83
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 45 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build.yml
Expand Up @@ -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 }}
27 changes: 0 additions & 27 deletions .github/workflows/publish.yml
Expand Up @@ -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

0 comments on commit 669ff83

Please sign in to comment.