← Все утилиты
GitHub Actions Generator
Job: build
Step #1
Step #2
Step #3
Step #4
Step #5
name: CI
"on":
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
- name: Install
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test