Automate publishing of bridge packages #716
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 and lint | |
| on: | |
| pull_request: | |
| push: | |
| branches: | |
| - master | |
| schedule: | |
| - cron: "0 3 * * 0" # Every sunday at 3am UTC. | |
| jobs: | |
| validation: | |
| name: Code quality | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup | |
| with: | |
| use-rust: false | |
| - name: Linting | |
| run: yarn lint | |
| - name: Build on Ubuntu | |
| run: yarn build | |
| - name: All generated code is commited | |
| run: | | |
| git update-index --refresh | |
| git diff-index --exit-code --name-status HEAD -- | |
| build: | |
| name: Build | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| os: [ ubuntu-latest, macos-latest, windows-latest ] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: .github/files/.nvmrc | |
| - name: Setup Environment | |
| uses: ./.github/actions/setup | |
| with: | |
| use-rust: false | |
| - name: Build | |
| run: yarn build |