Add ROADMAP.md #73
This file contains hidden or 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: Deploy integrations | |
| on: | |
| push: | |
| branches: | |
| - master | |
| jobs: | |
| test: | |
| uses: ./.github/workflows/test.yml | |
| build-and-deploy: | |
| needs: test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version: '22' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build integrations | |
| run: npm run build-integrations | |
| - name: Deploy integrations | |
| run: | | |
| # Configure git | |
| git config --global user.name "github-actions[bot]" | |
| git config --global user.email "github-actions[bot]@users.noreply.github.com" | |
| # Create and switch to a new orphan branch | |
| git checkout --orphan temp-dist-integrations | |
| # Remove all files except dist-integrations | |
| find . -mindepth 1 -maxdepth 1 \ | |
| -not -name 'dist-integrations' \ | |
| -not -name '.git' \ | |
| -exec rm -rf {} \; | |
| # Move dist-integrations contents to root | |
| mv dist-integrations/* . | |
| rm -rf dist-integrations | |
| # Stage all files | |
| git add . | |
| # Create a commit | |
| git commit -m "Update integrations (${GITHUB_SHA})" | |
| # Force push to dist-integrations branch | |
| git push -f origin temp-dist-integrations:dist-integrations |