diff --git a/.github/workflows/pipeline.yml b/.github/workflows/pipeline.yml new file mode 100644 index 0000000..4b773a6 --- /dev/null +++ b/.github/workflows/pipeline.yml @@ -0,0 +1,25 @@ +name: Pipeline + +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js 18 + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - run: yarn + + - run: yarn lerna bootstrap + + - run: yarn lerna run test + + - name: publish + if: github.event_name == 'release' + run: yarn lerna publish --from-git