Skip to content
Myr

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 file

Take it

Switch to GitHub ActionsJason Millerbefore adoption4be9189

lines 1–2why, one step back
1name: CI
2

run on push + PRJason Millerbefore adoption7d25805

lines 3–9why, one step back
3on:
4 pull_request:5 branches:6 - '**'7 push:8 branches:9 - master

Switch to GitHub ActionsJason Millerbefore adoption4be9189

lines 10–27why, one step back
10
11jobs: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