next-app-boilerplate/.github/workflows/build.yml

27 lines
440 B
YAML

name: Build tests
on:
push:
branches: [develop]
pull_request:
branches: [main, develop]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3.0.0
- name: Use Node.js
uses: actions/setup-node@v3.1.1
with:
node-version: 16.x
- name: Install packages
run: npm ci
- name: Build project
run: npm run build