Update node.js.yml

Attempted fix for CI/CD not running for PRs
This commit is contained in:
Lucid Kobold
2021-09-13 17:22:19 -04:00
committed by GitHub
parent 7b4c377797
commit e548c507cb

View File

@@ -3,8 +3,15 @@
name: Node.js CI
# Triggers the workflow on push or pull request events
on: [push, pull_request]
on:
# Trigger the workflow on push or pull request,
push:
branches:
# Only on the main branch
- main
pull_request:
# These types of PRs
types: [assigned, opened, synchronize, reopened]
jobs:
build: