*: replace the bazelisk, disk and repo cache with sticky disks #12
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20' | |
- run: npm ci | |
- run: npm test | |
setup-bazel: | |
runs-on: ${{ matrix.os }}-latest | |
strategy: | |
matrix: | |
os: | |
- macos | |
- ubuntu | |
- windows | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ./ | |
- if: failure() && runner.debug == '1' | |
uses: mxschmitt/action-tmate@v3 |