Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
67 changes: 20 additions & 47 deletions .bitmap
Original file line number Diff line number Diff line change
Expand Up @@ -9,55 +9,28 @@
*/

{
"ui/button": {
"scope": "teambit.github-lanes",
"version": "1.0.0",
"elements/button": {
"scope": "itaysso.test-lanes",
"version": "f1d063961219669dc95cdfee8c72844579a444c8",
"mainFile": "index.ts",
"rootDir": "github-lanes/button"
"rootDir": "lanes-automation/elements/button",
"onLanesOnly": true,
"isAvailableOnCurrentLane": true
},
"ui/icon": {
"scope": "teambit.github-lanes",
"version": "1.0.2",
"styles/colors": {
"scope": "itaysso.test-lanes",
"version": "ce465f36b9d1e611acb57beefff42b10b3ef9379",
"mainFile": "index.ts",
"rootDir": "github-lanes/ui/icon",
"lanes": [
{
"remoteLane": "teambit.github-lanes/icon-design-update",
"version": "1165f24d6fb8db250b968466c6f93ed4bd718a41"
},
{
"remoteLane": "teambit.github-lanes/change-color",
"version": "523833c4a7b2ce4958093386633bca2df6557644"
}
]
"rootDir": "lanes-automation/styles/colors",
"onLanesOnly": true,
"isAvailableOnCurrentLane": true
},
"ui/icon-container": {
"scope": "teambit.github-lanes",
"version": "1.0.2",
"mainFile": "index.ts",
"rootDir": "github-lanes/ui/icon-container",
"lanes": [
{
"remoteLane": "teambit.github-lanes/icon-design-update",
"version": "ad26bc9b87e7f76557962c4476f6117ae0efb936"
},
{
"remoteLane": "teambit.github-lanes/change-color",
"version": "e6d0b53d23f6ff6ca29ce870c902754f788ab1d7"
}
]
},
"ui/time-ago": {
"scope": "teambit.github-lanes",
"version": "1.0.1",
"mainFile": "index.ts",
"rootDir": "github-lanes/ui/time-ago",
"lanes": [
{
"remoteLane": "teambit.github-lanes/docs-update",
"version": "d4c991cfed8005f30f68c1d13daa8bfb66973512"
}
]
},
"$schema-version": "14.9.0"
"$schema-version": "15.0.0",
"_bit_lane": {
"id": {
"name": "third-go",
"scope": "itaysso.test-lanes"
},
"exported": true
}
}
103 changes: 0 additions & 103 deletions .github/workflows/create-lane.yml

This file was deleted.

55 changes: 55 additions & 0 deletions .github/workflows/create-or-update-lane.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
name: Create Lane

on:
pull_request:
types: [opened]
branches:
- main
push:
branches-ignore:
- main

jobs:

create_or_update_lane_and_export:
name: create and export lane

runs-on: ubuntu-latest

env:
BIT_TOKEN: ${{ secrets.BIT_TOKEN }}
LANE_NAME: ${{ github.head_ref || github.ref_name }}

container:
image: docker://bitcli/bit:latest-node-16.15.0
steps:
- uses: teambit/setup-action@v2.02
with:
name: github-actions
BIT_TOKEN: ${{ env.BIT_TOKEN }}

- uses: actions/checkout@v3
name: Checkout git branch
with:
ref: ${{ github.event.pull_request.head.ref }}

- name: Install and compile components
run: bit install

- name: Create Local Lane
# using some basic bash tricks... lets hope gh-actions can take this
run: bit lane create $LANE_NAME || echo "already on a lane"

- name: Snap All Components without building them
run: |
bit checkout head
bit snap --message "${{ github.event.head_commit.message }}"

- name: Export the Lane and the Components
run: bit export

- name: Commit .bitmap changes to PR
uses: EndBug/add-and-commit@v9
with:
push: true
message: 'update .bitmap'
105 changes: 0 additions & 105 deletions .github/workflows/delete-lane.yml

This file was deleted.

Loading