Skip to content

Build

Build #233

Workflow file for this run

name: Build
on:
merge_group:
pull_request:
branches:
- main
schedule:
- cron: '0 8 * * *' # Every day at 8:00 PM AEDT
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: |
~/.asdf
.tool-versions
~/.yarn/cache
key: ${{ runner.os }}-${{ hashFiles('.tool-versions') }}-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}
${{ runner.os }}-${{ hashFiles('.tool-versions') }}
${{ runner.os }}-${{ hashFiles('.tool-versions') }}-${{ hashFiles('yarn.lock') }}
- uses: asdf-vm/actions/install@v3
- run: make install
- run: make lint
- run: make test
- run: make build