Update techstack.yml #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test Bit Branch Lane | |
on: | |
push: | |
branches-ignore: | |
- main # or your default branch | |
permissions: | |
contents: write | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BIT_CLOUD_ACCESS_TOKEN: ${{ secrets.BIT_CLOUD_ACCESS_TOKEN }} | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize Bit | |
uses: bit-tasks/init@v1 | |
with: | |
ws-dir: 'test-data' | |
- name: Creating a bare scope | |
run: mkdir org.scope-name && cd org.scope-name && bit init --bare | |
- name: Start the server and test | |
run: cd org.scope-name && bit start --port 4000 --no-browser & sleep 200 && curl http://localhost:4000 | |
- name: Add remote scope | |
run: cd test-data && bit remote add http://localhost:4000 | |
- name: Bit Branch Lane | |
uses: bit-tasks/branch-lane@main | |
- name: Bit Lanes | |
run: cd test-data && bit lane list --details | |
- name: Commit Bitmap | |
uses: bit-tasks/commit-bitmap@v1 | |
with: | |
git-user-name: 'ashanfernando' | |
git-user-email: '[email protected]' | |