Skip to content
Myr

main.yml

This file

Path

.github/workflows/main.yml

25 lines · 425 bytes · YAML

Last changed by

update actions for main branchJason Millerbefore adoptionec0aab7

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–5why, one step back
3on:
4 pull_request:5 branches:

update actions for main branchJason Millerbefore adoptionec0aab7

line 6why, one step back
6 - "**"

run on push + PRJason Millerbefore adoption7d25805

lines 7–8why, one step back
7 push:
8 branches:

update actions for main branchJason Millerbefore adoptionec0aab7

line 9why, one step back
9 - main

Switch to GitHub ActionsJason Millerbefore adoption4be9189

lines 10–14why, one step back
10
11jobs:12 build:13 runs-on: ubuntu-latest14 steps:

update actions for main branchJason Millerbefore adoptionec0aab7

lines 15–25why, one step back
15 - uses: actions/checkout@v2
16 - uses: actions/setup-node@v217 with:18 node-version: 1419 - name: npm install, build, and test20 run: |21 npm install22 npm run build --if-present23 npm test24 env:25 CI: true