GitHub Actions Generator
Build workflow YAML visually — download ready to commit
Build workflow YAML visually — download ready to commit
Triggers
Jobs
Steps
Environment Variables
.github/workflows/ci.yml
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Run tests
run: |
npm ci
npm test
env:
NODE_ENV: test