main.yml
This file
Path
.github/workflows/main.yml
27 lines · 407 bytes · YAML
Last changed by
run on push + PRJason Millerbefore adoption7d25805
History of this fileTake it
Switch to GitHub ActionsJason Millerbefore adoption4be9189
lines 1–2why, one step back1name: CI2run on push + PRJason Millerbefore adoption7d25805
lines 3–9why, one step back3on:4 pull_request:5 branches:6 - '**'7 push:8 branches:9 - masterSwitch to GitHub ActionsJason Millerbefore adoption4be9189
lines 10–27why, one step back1011jobs:12 build:1314 runs-on: ubuntu-latest1516 steps:17 - uses: actions/checkout@v118 - uses: actions/setup-node@v119 with:20 node-version: 1221 - name: npm install, build, and test22 run: |23 npm install24 npm run build --if-present25 npm test26 env:27 CI: true