chore: update ci actions #71
Workflow file for this run
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: Build, lint and deploy | |
| on: | |
| push: | |
| branches: | |
| - master | |
| pull_request: | |
| branches: | |
| - master | |
| jobs: | |
| build: | |
| name: Lint, build and deploy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Bun | |
| uses: oven-sh/setup-bun@v2 | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Install playwright | |
| run: bunx playwright install chromium-headless-shell --with-deps | |
| - name: Build, lint and test | |
| run: bun run build && bun run lint && bun run test | |
| - name: Deploy to Azure | |
| uses: TravisSpomer/[email protected] | |
| if: github.ref == 'refs/heads/master' | |
| with: | |
| source-path: dist | |
| sas-url: ${{ secrets.DEPLOY_SAS_URL }} | |
| require-index: false |