2023-07-02 00:24:56 -07:00
|
|
|
# Validate build to provide early feedback on pull requests
|
|
|
|
name: Build
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.ref }}-build
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
on:
|
|
|
|
pull_request:
|
2023-09-14 13:19:57 -07:00
|
|
|
branches: [master]
|
2023-07-02 00:24:56 -07:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
validate:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
2023-09-06 07:20:26 -07:00
|
|
|
- uses: actions/checkout@v4
|
2023-07-02 00:24:56 -07:00
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
2023-09-14 13:19:57 -07:00
|
|
|
node-version-file: ".nvmrc"
|
|
|
|
cache: "npm"
|
2023-07-02 00:24:56 -07:00
|
|
|
- run: npm ci
|
|
|
|
- run: npm run build
|